Ondřej Kuzník
a6c110d16d
ITS#7080 cn=config postread support for modrdn when back-ldif not used
2022-01-18 18:31:32 +00:00
Ondřej Kuzník
67f7f98ca5
ITS#7080 Fix debug message
2022-01-18 18:31:32 +00:00
Ondřej Kuzník
6ccc0974e1
ITS#8039 Free resinfo even if opcookie is the last owner
2022-01-18 16:46:09 +00:00
Howard Chu
e73cdc55e0
ITS#9779 slapo-dynlist: fix static group filter with multiple members
2022-01-18 15:11:28 +00:00
Ondřej Kuzník
2443e986d1
ITS#9772 Allow objectClass edits that don't actually change them
2022-01-18 05:12:53 +00:00
Ondřej Kuzník
4b18c2be00
ITS#5972 Consider all deletes for syncInfo messages
...
A delete of an entry that didn't match filter would be skipped
altogether and the cookie would never be sent to that consumer.
2022-01-18 03:34:27 +00:00
Ondřej Kuzník
6f31d73dc0
ITS#9776 Fix check on what backend we're operating on
2022-01-11 08:45:44 +00:00
Ondřej Kuzník
414866b888
ITS#9580 Propagate a present-phase cookie flush into accesslog
2022-01-11 06:47:00 +00:00
Ondřej Kuzník
bc28e7950d
ITS#9538 Actually skip internal searches
2022-01-10 22:25:33 +00:00
Ondřej Kuzník
87b78f2060
ITS#9538 Do not attach csn on (internal) searches
2022-01-10 22:25:33 +00:00
Ondřej Kuzník
95df37d101
ITS#9538 Populate op2.o_hdr earlier
2022-01-10 22:25:33 +00:00
Ondřej Kuzník
70e6bd6777
ITS#9751 Do not drop out of order deletes completely
2022-01-10 18:44:28 +00:00
Quanah Gibson-Mount
788e9592ba
Happy New Year!
2022-01-07 18:40:00 +00:00
Ondřej Kuzník
3ca8d6d388
ITS#9770 slapo-constraint: Maintain values in order of insertion
2022-01-06 16:28:52 +00:00
Ondřej Kuzník
2bf59ff63a
ITS#7080 Find config entry before processing pre-read on delete
2022-01-06 03:05:45 +00:00
Ondřej Kuzník
d8331e1b81
ITS#9768 Enforce single name per olcTranslucentLocal/olcTranslucentRemote value
2022-01-05 21:24:07 +00:00
Ondřej Kuzník
711ebba53c
ITS#9767 Enforce single name per olcUniqueIgnore/olcUniqueAttribute value
2022-01-05 19:21:17 +00:00
Ondřej Kuzník
0ecaa025d2
ITS#9764 slapo-valsort: Maintain values in order of insertion
2022-01-05 05:07:34 +00:00
Ondřej Kuzník
52bba704e7
ITS#9763 Make sure we keep cn=config values separate
2022-01-04 22:34:32 +00:00
Ondřej Kuzník
e87569f983
ITS#9763 Maintain values in order of insertion
2022-01-04 22:34:32 +00:00
Ondřej Kuzník
a5e7fdce48
ITS#9762 slapo-dyngroup: Maintain values in order of insertion
2022-01-04 20:10:01 +00:00
Ondřej Kuzník
a8467b8b15
ITS#9761 Fix olcSyncrepl position based insertion
2022-01-04 17:53:26 +00:00
HAMANO Tsukasa
30917b984c
ITS#9760 back-wt: SLAP_DBFLAG_CLEAN is always set.
2022-01-03 18:00:00 +00:00
Ondřej Kuzník
edf7ef4948
ITS#9642 Lloadd standalone doesn't use rq
2021-12-15 20:40:53 +00:00
Ondřej Kuzník
bc37a9fdfa
ITS#9642 Remove redundant calls to slap_wake_listener()
2021-12-15 20:40:53 +00:00
Ondřej Kuzník
19d4a69882
ITS#9642 Notify runner of any changes to the runqueue
2021-12-15 20:40:53 +00:00
Ondřej Kuzník
fbd4f9abdd
ITS#9556 Send INVALID_SYNTAX for invalid schema elements
2021-12-15 18:39:46 +00:00
Ondřej Kuzník
def3a958ec
ITS#9556 Allow handlers to set result code
2021-12-15 18:39:46 +00:00
Ondřej Kuzník
9e3184763c
ITS#9691 Allow empty DB to host a persistent syncrepl session
2021-12-15 16:50:43 +00:00
Ondřej Kuzník
75636a407e
ITS#9584 Track refreshing status explicitly
...
A refresh can jump across multiple threads, we cannot just lock a
mutex, we need to track who that is and clear when finished.
In addition to that, fix our internal syncrepl session tracking pulling
it closer to RFC 4533, refreshDone now represents the receipt of
refreshDone flag. Refreshing status is maintained for plain refreshes
(and times when we might be starting one but don't know for sure).
We still reschedule a new sync with a delay if there is another one
running but tracking refreshes this way paves the way to being able to
wake them up if we start tracking them somehow.
2021-12-15 01:22:38 +00:00
Ondřej Kuzník
e6347bc1b8
ITS#9729 Allow multiprovider to be set before syncrepl stanzas
2021-12-14 21:10:17 +00:00
Ondřej Kuzník
1a92f417a6
ITS#9576 Populate ca_desc for EMIT too
2021-12-14 19:22:48 +00:00
Ondřej Kuzník
b7390f1710
ITS#9596 Let others wait on the startup readiness indication
2021-12-14 16:30:54 +00:00
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
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
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
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
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
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
Ondřej Kuzník
3c07544b2a
ITS#6949 Port rest of the features to lloadd
2021-10-04 14:46:26 +01:00
Ondřej Kuzník
8894f00fe4
ITS#6949 Remove dead code from lloadd
2021-10-04 14:46:26 +01:00
Ondřej Kuzník
a3dea08ccd
ITS#6949 Fix and emit error messages
2021-10-04 14:46:22 +01:00
Howard Chu
7979892dfe
ITS#9711 fix TLS ctx init for tools
...
The code to initialize the TLS context was being bypassed by tool startup,
causing tools to get the wrong default setting. Move it earlier to avoid
being bypassed.
2021-09-30 19:17:38 +01:00
Howard Chu
66c6284119
ITS#6949 fixup loglevel delete, consolidate redundant code
2021-09-30 04:23:29 +01:00
Howard Chu
10fb8c0ae5
ITS#6949 fix logfile_only regression in prev commit
2021-09-29 14:39:28 +01:00
Howard Chu
77adb19207
ITS#6949 honor specified loglevel, not just debuglevel
...
But skip calls to syslog() if logfile_only is set.
2021-09-27 16:54:24 +00:00
Howard Chu
42fc772c23
slapd: delete unused entry_schema_check(oldattrs) parameter
...
Unused since 2001 2ae02fc19b
2021-09-23 17:03:19 +01:00
Ondřej Kuzník
77dfb204c1
ITS#9671 Revert some NO-USER-MODIFICATION flags in ppolicy
2021-09-16 16:18:17 +00:00
Anton Avramov
01b653fd61
ITS#9679 - Update ldap_entry_objectclass table for current mysql/mariadb
2021-09-15 01:59:33 +00:00
Howard Chu
09a22d5512
ITS#9678 slapadd: avoid destroying configDB prematurely
2021-09-14 20:01:47 +01:00
Ondřej Kuzník
bfe3d19e95
ITS#8341 Allow normalised values for namingContexts in cn=monitor
2021-09-09 10:26:06 +01:00
Ondřej Kuzník
2958925ca1
ITS#9664 Add normalised suffix into rootDSE for ACL, etc.
...
This was removed in ITS#5540 since there was no EQUALITY matching rule,
but that situation changed in ITS#8341 and we need to add it back.
2021-09-09 10:26:06 +01:00
Ondřej Kuzník
c2b81a3c5b
ITS#6949 Allow for fd 0
2021-09-08 15:53:02 +00:00
Ondřej Kuzník
dc6b6276fc
ITS#6949 Save errno
2021-09-08 15:53:02 +00:00
Ondřej Kuzník
2abbf6781d
ITS#6949 Extract logging code so lloadd can also use it
2021-09-08 15:53:02 +00:00
Quanah Gibson-Mount
c1f3895412
ITS#9649 - Fix typo compatibilty to compatibility
2021-09-06 19:18:46 +00:00
HAMANO Tsukasa
c66c9f87eb
ITS#9631 back-wt: closing cache db politely
2021-09-06 15:19:25 +00:00
Ondřej Kuzník
17394f380a
ITS#9641 Grab a new local csn for failed ops
2021-09-05 14:33:59 +00:00
Ondřej Kuzník
781a6c25a7
ITS#9538 Only queue csns for ops that don't get skipped
2021-09-05 14:33:59 +00:00
Ondřej Kuzník
8f8674fc86
ITS#9538 Populate op2.o_hdr earlier
2021-09-05 14:33:59 +00:00
Ondřej Kuzník
c34f2a1b29
ITS#9650 Move ldap_pvt_thread_initialize into main.c
2021-09-04 22:57:00 +00:00
HAMANO Tsukasa
ccb4f4854a
ITS#9643 Fix out of bounds read in entry_decode()
2021-09-02 15:25:39 +00:00
Howard Chu
73be971a7d
ITS#9659 remove redundant peerbv def
2021-09-01 04:00:57 +01:00
Quanah Gibson-Mount
affa9de311
ITS#9649 - Add information for schema files
2021-08-31 17:34:16 +00:00
Quanah Gibson-Mount
c4d399c203
ITS#9156 - Remove ppolicy.schema from README
...
Also remove nadf.schema, that got removed some time long ago
2021-08-26 15:43:24 +00:00
Quanah Gibson-Mount
d943d7f2fb
ITS#9636 - Delete shell backend
2021-08-17 16:01:29 +00:00
Quanah Gibson-Mount
c6b43dcdc5
ITS#9635 - Delete back-ndb
2021-08-17 16:01:29 +00:00
HAMANO Tsukasa
31b0bf68c2
ITS#9497 fix duplicate ldap control response
2021-08-17 15:45:06 +00:00