23886 Commits

Author SHA1 Message Date
Ondřej Kuzník
544a7c8839 ITS#9596 Allow slapd to listen on port 0
And have it update the listening socket names as the port gets assigned.
2021-12-14 16:30:54 +00:00
Ondřej Kuzník
e3905c9898 ITS#9596 Let libldap keep explicit port 0 as that 2021-12-14 16:30:54 +00:00
Ondřej Kuzník
e96bfd088e ITS#9750 olcPasswordHash can only be made global in cn=config 2021-12-14 00:19:17 +00:00
Ondřej Kuzník
c51320a6f6 ITS#9742 Reject a refresh if we can't do a precise resync 2021-12-13 19:20:58 +00:00
Ondřej Kuzník
af2f89102e ITS#9493 Ensure we can process cn=config deletes 2021-12-13 17:01:22 +00:00
Ondřej Kuzník
4252900537 ITS#9493 Accesslog cn=config fixes 2021-12-13 17:01:22 +00:00
Ondřej Kuzník
3d908bcd89 ITS#9758 Make sure we don't end up with duplicates in entry 2021-12-10 19:13:40 +00:00
Ondřej Kuzník
da73c184b2 ITS#9758 Fix slapd-sock value add/delete 2021-12-10 19:13:40 +00:00
Ondřej Kuzník
d094cf2cb5 ITS#9759 Honour requested insert position in olcRetcodeItem 2021-12-10 16:54:54 +00:00
Ondřej Kuzník
ba37508f80 ITS#9647 Find correct sid in compare_csns() more of the time 2021-12-09 20:50:02 +00:00
Ondřej Kuzník
e8f1038de0 ITS#9647 Treat glue entries as missing
We're using MANAGE_DSAIT control so we get to see them, but they don't
really exist (except for their CSN sometimes).
2021-12-09 20:50:02 +00:00
Ondřej Kuzník
8d514517cc ITS#9647 Record delete's CSN in the glue entry 2021-12-09 20:50:02 +00:00
Ondřej Kuzník
5357c9ef7f ITS#9756 Generate a more accurate accesslog query 2021-12-09 18:04:27 +00:00
Howard Chu
453799eb97 ITS#9707 also: don't log null cookie 2021-12-09 17:51:39 +00:00
Howard Chu
bb17e23f28 ITS#9707 syncrepl: don't set lastCookie if none present 2021-12-09 17:40:35 +00:00
Ondřej Kuzník
a73ddda533 ITS#9282 Skip old accesslog entries even in delta-refresh 2021-12-08 17:15:57 +00:00
Ondřej Kuzník
8d428f3163 ITS#9282 Do not resuscitate entries we already deleted 2021-12-08 17:15:57 +00:00
Ondřej Kuzník
da610c050c ITS#9282 Short-circuit cookie comparison in non-present check 2021-12-08 17:15:57 +00:00
Howard Chu
739081f217 ITS#9753 back-mdb: Fix index updating for replace ops 2021-11-23 17:29:31 +00:00
Howard Chu
f476a06391 ITS#9752 accesslog: fix inconsistently normalized minCSN 2021-11-19 05:17:52 +00:00
Howard Chu
510c95af74 ITS#9745 more for prev commit 2021-11-16 23:37:54 +00:00
Howard Chu
a1799a6e5e ITS#9745 add config keyword for logfile format 2021-11-16 18:57:54 +00:00
Ondřej Kuzník
61bc08deaf ITS#9749 Clarify logoldattr 2021-11-16 15:28:17 +00:00
Howard Chu
bc659074ee ITS#9747 dynlist: fix Compare for static groups
Fallback to static check if static groups are configured and
dynamic group check returns false.
2021-11-15 17:36:40 +00:00
Ondřej Kuzník
30baa30bce ITS#9738 Remove code deprecated by ITS#9538 2021-11-11 20:06:01 +00:00
Ondřej Kuzník
eb989be408 ITS#9733 Only use libltdl when SLAPD_MODULES is defined 2021-11-11 18:19:09 +00:00
Ondřej Kuzník
6327f45d7d ITS#9725 Update lastbind manpage to document core functionality 2021-11-11 17:12:45 +00:00
Ondřej Kuzník
7a4b42600b ITS#9725 Use backend's timestamp precision 2021-11-11 17:12:45 +00:00
Howard Chu
69727ebbc8 ITS#9743 init client socket port
also silence meaningless warning
2021-11-09 18:06:18 +00:00
Ondřej Kuzník
45720734ea ITS#9740 Be more explicit about where we document the options 2021-11-08 16:15:33 +00:00
Quanah Gibson-Mount
86692d595e ITS#9728 - Update documentation on lastbind-precision 2021-11-03 16:19:44 +00:00
Howard Chu
cc876a2133 ITS#9727 slapd-watcher: don't fail startup on bad URLs
Just assume the server will eventually come up, or if it's an
incorrect URL the user will eventually notice and fix it.
2021-11-01 19:51:29 +00:00
Howard Chu
f07f8c20f5 ITS#9718 test022: preserve DELAY search output
Save a copy in $SEARCHOUT or test.out so it can be examined in
case the test fails.
2021-11-01 17:15:05 +00:00
Howard Chu
eab4ece0c2 ITS#9730 fix logging config uninit'd rc 2021-10-29 14:24:45 +01:00
Howard Chu
8dcf12f7da ITS#9715 Fix loglevel regression
Only set loglevel in server mode, not tool mode
2021-10-26 15:45:06 +00:00
Ondřej Kuzník
6ca85aa3a8 ITS#9720 Import missing minCSNs from inside DB
We might also ignore them, but if minCSN/contextCSN were not managed
properly, might as well make the effort to approach the actual value at
some point.
2021-10-21 12:10:34 +01:00
Ondřej Kuzník
8f35dc45f2 ITS#9720 Manage the purge task properly 2021-10-21 12:10:14 +01:00
Quanah Gibson-Mount
2a6b1629d2 ITS#9673 - Regenerate configure 2021-10-18 20:23:02 +00:00
Quanah Gibson-Mount
4a87d7aad2 ITS#9673 - Start fully tracking symbols for versioning 2021-10-18 17:56:13 +00:00
Howard Chu
9b03a1ec88 ITS#9715 allow setting both debug and loglevel in cn=monitor 2021-10-18 17:49:52 +01:00
Howard Chu
d76b8cbbef ITS#9715 consolidate logging functionality into logging.c 2021-10-18 17:49:47 +01:00
Ondřej Kuzník
90fc349654 ITS#9715 Deduplicate verbmasks implementation from slapd/lloadd 2021-10-18 17:49:38 +01:00
Quanah Gibson-Mount
f50cca2e12 ITS#9716 - In head, there should be no version specific references 2021-10-11 17:19:08 +00:00
Howard Chu
7c20ca922f ITS#9713 log fatal config errors at LDAP_DEBUG_ANY
and make sure logfile_only doesn't mute failures to open logfile
2021-10-07 17:11:53 +01:00
Howard Chu
2995da7e8d ITS#9712 back-mdb: better fix 2021-10-07 01:42:38 +01:00
Howard Chu
74a5a3a474 ITS#9712 back-mdb: fix multival delete 2021-10-07 01:22:34 +01:00
Ondřej Kuzník
397e30a5e7 ITS#9620 Fix deadlocks between searches and register_entry
The cache is again protected by a simple mutex and mp_children/mp_next
is protected by mp_mutex. Each monitor_send_children is called holding
the corresponding mp_mutex meaning the whole path from search base to
the current entry is off limits - cn=monitor searches cannot run in
parallel right now.
2021-10-05 11:05:25 +01:00
Ondřej Kuzník
ef60ec1df6 ITS#9600 Protect connection while interacting with it 2021-10-05 11:05:25 +01:00
Ondřej Kuzník
6cc6ec2f72 ITS#9600 Do not hold locks while calling into back-monitor 2021-10-05 11:05:25 +01:00
Ondřej Kuzník
8968d13163 ITS#9599 Switch to xorshift for random numbers 2021-10-05 01:11:30 +00:00