Commit Graph

412 Commits

Author SHA1 Message Date
Howard Chu
285f841bd6 Add a "nopresent" keyword to skip the present phase; for backends that are
only used for logging (c.f. accesslog overlay) the present phase is useless.
2005-09-14 15:25:52 +00:00
Howard Chu
5e1ab5aba3 Add CSN management 2005-09-14 15:18:48 +00:00
Howard Chu
f1ffe0076f Zero out op2 2005-09-14 14:10:25 +00:00
Howard Chu
2babdaab9e Add flag for only logging successful operations 2005-09-14 09:11:03 +00:00
Howard Chu
ba39e3fe00 ITS#3989 more fixes 2005-09-09 04:53:56 +00:00
Howard Chu
d567be70eb ITS#3989 fix crash - don't access freed psearch records 2005-09-08 02:19:05 +00:00
Howard Chu
e0b42505c1 Add searchFilter var in searchDN session. Would have preferred to confine
this to the searchDN context. Please review.
2005-09-06 07:13:14 +00:00
Pierangelo Masarati
61e06b4ef2 all right, don't worry about free() by now 2005-09-04 23:54:30 +00:00
Howard Chu
92909f0682 ITS#3980 fix when master doesn't explicitly reset grace/lock attrs 2005-09-04 23:44:04 +00:00
Pierangelo Masarati
ec532ce885 disable pagedResults or reject 2005-09-04 20:08:35 +00:00
Howard Chu
1e4d973616 ITS#3980, filter out some delete modifications on replicas if target
attrs don't exist
2005-09-04 16:22:30 +00:00
Howard Chu
36db408d0e Add missing return from rev 1.27 2005-09-02 21:27:49 +00:00
Howard Chu
f4637d60c2 per LDAPext discussion, delete pwdAccountLockedTime on password change 2005-09-02 20:38:05 +00:00
Howard Chu
f1561ac4b5 Bypass all add/modify checks on replicas, the master has done them already. 2005-09-02 20:23:32 +00:00
Howard Chu
fc8b2dda7c ITS#3989 fix ID used for syncprov_findbase 2005-09-02 10:08:44 +00:00
Howard Chu
4a1eabf257 Moving glue overlay back into slapd core, returning to 2.2 config syntax 2005-09-01 11:45:04 +00:00
Howard Chu
be1216819c ITS#3979 only one glue overlay per tree is allowed 2005-08-31 11:47:18 +00:00
Howard Chu
ba268441bc ITS#3937 tone down informational debug msgs 2005-08-28 07:02:53 +00:00
Howard Chu
528acf7504 Finish control implementation 2005-08-27 01:21:51 +00:00
Hallvard Furuseth
a1a9507295 Remove unused variable 2005-08-26 21:42:48 +00:00
Howard Chu
e641222b10 More for ITS#3854 2005-08-26 03:35:42 +00:00
Howard Chu
6a4839bd23 Windows mod compatibility 2005-08-26 02:21:07 +00:00
Howard Chu
4cc7efdadc Revert ITS#3577 patch, breaks Windows build and not needed in RE23. 2005-08-26 02:20:45 +00:00
Howard Chu
d7122627fa Leave pwdPolicySubEntry user-modifiable for now 2005-08-26 00:19:08 +00:00
Pierangelo Masarati
6cb8b14435 allow undefined attrs to be "proxied" (ITS#3959) 2005-08-25 21:14:26 +00:00
Pierangelo Masarati
afaf426231 need stricter sanity checks... 2005-08-25 08:57:08 +00:00
Howard Chu
f6be095299 Don't do anything if this is a syncrepl response. 2005-08-25 06:56:09 +00:00
Howard Chu
5903ebc1b5 Config fixes 2005-08-24 08:32:03 +00:00
Howard Chu
fc1c7d9987 Fix typo in numeric-descend 2005-08-24 02:26:55 +00:00
Howard Chu
c9c1ee10b3 Add LDAP_CONTROL_VALSORT 2005-08-24 02:07:43 +00:00
Howard Chu
6b63e25bc2 Check for numeric syntaxes 2005-08-24 01:52:05 +00:00
Howard Chu
7dde9e0b33 Tweak prev commit, use BER_BVZERO 2005-08-24 01:36:16 +00:00
Howard Chu
c947cfd66a Fix uninit'd var, check for single-valued attrs 2005-08-24 01:34:49 +00:00
Pierangelo Masarati
ac1488b50d workaround ITS#3965; if anybody has a better solution... 2005-08-23 22:54:07 +00:00
Howard Chu
ef220ac1ef Updated for draft 09, allow MANAGE for operational attrs. 2005-08-23 19:37:16 +00:00
Howard Chu
02f52030b0 More for valsort 2005-08-23 10:44:36 +00:00
Howard Chu
57722288f1 Add valsort 2005-08-23 08:52:01 +00:00
Howard Chu
225275407d Add sorted values overlay 2005-08-23 08:47:38 +00:00
Howard Chu
1f78e2b831 ITS#3961 better fix - provide a context for the main thread. The context
must be reset by the caller to clear out temp allocations etc.
2005-08-23 04:12:57 +00:00
Howard Chu
468112e2ba ITS#3961 provide ldap_pvt_thread_pool_fake_context_init/destroy, don't
use arbitrary context pointers.
2005-08-23 03:25:21 +00:00
Pierangelo Masarati
a3554aad3a log the right string 2005-08-22 09:42:51 +00:00
Pierangelo Masarati
150bcfcbcb moved to contrib/slapd-overlays/allop 2005-08-22 09:12:21 +00:00
Pierangelo Masarati
5b7f996566 cleanup 2005-08-20 19:50:59 +00:00
Pierangelo Masarati
c8ef609ea1 fix (and partially revert) last commit 2005-08-20 19:05:10 +00:00
Pierangelo Masarati
6bae592866 cleanup objectclass inheritance; don't proceed if initial lookup resulted in a hit with "success" errcode and the base is search; either the filter doesn't match, or the same action is taken twice 2005-08-20 18:00:40 +00:00
Pierangelo Masarati
f227a96053 more for the allop overlay 2005-08-20 11:53:31 +00:00
Pierangelo Masarati
95f65ff352 all-operational overlay: allows to configure part of te DIT so that requests
with requested attribute lists empty or containing "*" are expanded
to contain "+" as well, so that all operational attributes are returned.
This may be required to work around dumb clients that interrogate
the rootDSE requesting "*" and expecting operational attributes to be
returned as well.  To make it a bit more generic, it can be configured
to do the same for an arbitrary search described by an URI.  For example,

overlay		allop
allop-URI	ldap:///??sub

before any database instantiation causes all searches to return "*","+"
when ors_attrs is NULL or countains "*".
2005-08-20 11:48:13 +00:00
Pierangelo Masarati
fdfcf0406e need an AUXILIARY objectClass to play with some special error codes (need to update man page as well)... 2005-08-20 11:31:51 +00:00
Pierangelo Masarati
e066ec210e merge sml_managing into sml_flags (SLAP_MOD_MANAGING) 2005-08-18 08:48:10 +00:00
Pierangelo Masarati
9487629061 zero out sml_managing any time a Modifications is built (use calloc?) 2005-08-18 08:12:26 +00:00