Commit Graph

73 Commits

Author SHA1 Message Date
Kurt Zeilenga
d3e288dffe s/managedit/relax/
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Pierangelo Masarati
c1c8c05c1b first round at adding passwd exop support to slapo-rwm (ITS#4458) 2006-05-12 15:38:58 +00:00
Pierangelo Masarati
e01743193d more coverity issues 2006-04-14 00:17:27 +00:00
Pierangelo Masarati
a029490fe8 let overlays define if they must appear exactly once in a chain, and if they must be global/per-db only, and holler in case 2006-01-14 18:02:35 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
98936ee3c4 streamline overlay configuration 2005-11-25 12:43:43 +00:00
Pierangelo Masarati
e2b87791ac release entry, if required; release mapping resources as appropriate on exit 2005-11-03 13:34:43 +00:00
Pierangelo Masarati
918405d154 note that "discover" is not supported yet 2005-10-14 00:20:56 +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
557f5eb2ca allow noUserMod attrs write proxying when manageDIT is set (still to work in frontend for add) 2005-08-17 19:40:02 +00:00
Pierangelo Masarati
64af435895 ITS#3914 bug was very close to that leak: rwm_dnattr_rewrite() already freed the original value (all this stuff may need work) 2005-08-08 19:49:48 +00:00
Pierangelo Masarati
47351e3b5c fix yet another leak (not related to ITS#3914, though) 2005-08-08 19:41:10 +00:00
Pierangelo Masarati
61f11773ba address ITS#3914 2005-08-02 23:22:10 +00:00
Pierangelo Masarati
9a64785e4d plug leaks; fix map initialization 2005-08-01 22:40:18 +00:00
Hallvard Furuseth
cc27d26f48 rs->sr_flags should be saved in variables of type slap_mask_t, not int. 2005-07-22 13:28:49 +00:00
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00
Hallvard Furuseth
7ab3d2c245 Silence warnings 2005-07-14 19:32:21 +00:00
Pierangelo Masarati
fddeed7903 add support for connection_init/destroy and retcode overlay 2005-06-19 22:42:12 +00:00
Pierangelo Masarati
3172222266 cleanup of previous commit 2005-06-18 18:59:04 +00:00
Pierangelo Masarati
2abaf7bf66 fix ITS#3788: don't free slapo-rwm callback, rather reuse it 2005-06-16 23:08:23 +00:00
Pierangelo Masarati
6bd4ef7667 fix cleanup in case of error 2005-05-13 19:08:41 +00:00
Pierangelo Masarati
96773427db don't bother about slap_dummy_bv 2005-05-13 09:06:28 +00:00
Pierangelo Masarati
fd52d607b0 don't compare freed pointers (no harm) 2005-05-09 09:32:44 +00:00
Pierangelo Masarati
b8b0bb000b honor T-F filters (ITS#3706) 2005-05-04 23:57:33 +00:00
Pierangelo Masarati
4e8256f6ab improve previous commit; now attribute values are rewritten either if they were DN-valued before or after being remapped 2005-02-22 21:29:42 +00:00
Pierangelo Masarati
ba90bad9c8 honor remapped attrs in requested attrlist; fix erroneous cleanup of remapped requested attrlist (only at response) 2005-02-22 20:16:31 +00:00
Pierangelo Masarati
d503b5a5b7 make frontend-generated attrs available to backend's hook 2005-01-31 00:14:00 +00:00
Pierangelo Masarati
e96e874a18 take care of DN-valued "operational" (generated) attrs 2005-01-30 22:00:09 +00:00
Pierangelo Masarati
b116bb3814 fix ITS#3499 (may need further testing) 2005-01-20 22:44:54 +00:00
Pierangelo Masarati
9201649c3b the attribute mapping features of rwm seem to be very broken. Here few issues related to ITS#3499 are fixed, but there's some work to do yet 2005-01-20 20:30:46 +00:00
Pierangelo Masarati
69fbd2e66e propagate opattrs if shadow update 2005-01-13 18:43:59 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
250c096713 rework internal handling of strings to minimize temporary allocation; impacts rewrite() and rewrite_session() behavior in case of no rewriting; set LDAPURLDesc lud_scope to LDAP_SCOPE_DEFAULT if set to LDAP_SCOPE_BASE, so no trailing '??base' is added to referrals... 2005-01-01 16:11:38 +00:00
Pierangelo Masarati
f1427fd871 remap compare attribute; fix erroneous pointers; minor cleanup 2004-12-30 17:46:38 +00:00
Pierangelo Masarati
7b6d707d92 TODO: rewrite/remap the newRDN and related stuff both in back-meta and in rwm overlay 2004-12-30 15:06:58 +00:00
Pierangelo Masarati
57c4f45977 work out an issue with chk_referrals and back-relay/rwm; this looks like the best compromise; minor cleanup 2004-12-11 17:37:21 +00:00
Pierangelo Masarati
6e12819387 allow undefined schema items to be returned by back-ldap and remapped by the rwm overlay 2004-12-01 21:47:13 +00:00
Pierangelo Masarati
158067a46e sanity check 2004-11-13 17:27:15 +00:00
Pierangelo Masarati
7ff445d8ae further cleanup 2004-11-13 15:10:47 +00:00
Pierangelo Masarati
d7bdb8cb24 disable referral rewrite in default suffix massage 2004-11-13 12:15:40 +00:00
Pierangelo Masarati
9f6f5491fe slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay 2004-07-25 23:16:40 +00:00
Pierangelo Masarati
32d9856fb1 hack to handle cases where o_req_dn = o_req_ndn 2004-07-22 23:48:04 +00:00
Pierangelo Masarati
52a49e0840 improve manual and make naming contexts uniform; NOTE: backwards compatibility not preserved 2004-07-20 00:46:20 +00:00
Pierangelo Masarati
dbb4593d75 rework passwd_extop to comply with rwm requirements... 2004-07-20 00:22:05 +00:00
Pierangelo Masarati
b94d5e17e2 rework op/rs structures to deal with opeartional attributes 2004-07-18 21:44:29 +00:00
Pierangelo Masarati
56303ce55a cleanup 2004-07-14 01:16:23 +00:00
Pierangelo Masarati
d02a8cab65 revert previous change; anticipate backend_operational before overlays callbacks (thanks, Howard); rework overlays cycle to allow callbacks to free themselves (thanks Howard) 2004-07-14 00:42:23 +00:00
Pierangelo Masarati
3b8111f1c4 use a separate field for a modified entry in SlapReply 2004-07-13 22:52:54 +00:00
Pierangelo Masarati
d6e3c93001 memory hanling cleanup 2004-07-13 01:00:48 +00:00
Pierangelo Masarati
7011c4f3e2 change flags only if entry massaging goes fine 2004-07-12 22:50:34 +00:00