Commit Graph

88 Commits

Author SHA1 Message Date
Ralf Haferkamp
5ae46c195e Added a new parameter (ConfigArgs*) to the _db_init, _db_open, _db_close and
_db_destroy functions.
2007-07-25 17:21:05 +00:00
Pierangelo Masarati
3aefa9434d major improvement: baseline support for back-config; minor improvement: trim code to handle absence of librewrite (enable forced when slapo-rwm is configured...) 2007-07-14 16:18:44 +00:00
Ralf Haferkamp
19b4aba5a1 added config option "normalize-mapped-attrs" to enable normalization of
undefined mapped attribute types.
2007-07-09 16:22:54 +00:00
Ralf Haferkamp
7203276785 ITS#4991 restore mapped AttributeNames before processing a response 2007-05-31 15:46:46 +00:00
Pierangelo Masarati
93f338eb79 cleanup 2007-03-19 15:50:51 +00:00
Pierangelo Masarati
98fe6a81a0 handle r_dn == r_ndn 2007-03-19 15:44:58 +00:00
Pierangelo Masarati
bce4063a17 shortcut schema mapping if not configured 2007-01-03 21:35:18 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
8c90df8314 Fix cleanup for extended ops 2006-12-19 01:14:35 +00:00
Howard Chu
01c38dd6ea ITS#4458 re-encode passwd request 2006-12-18 22:30:47 +00:00
Howard Chu
23423cd086 Fix callback handling 2006-12-18 00:27:38 +00:00
Howard Chu
ccf7b0fb04 Remove redundant search cleanup 2006-12-18 00:02:00 +00:00
Howard Chu
28793246e6 ITS#4638 restore params for Compare and Modify 2006-12-17 23:49:42 +00:00
Howard Chu
1e849ec14d ITS#4638 restore original parameters on op completion
(this is preliminary, more work remains)
2006-12-17 22:57:45 +00:00
Pierangelo Masarati
eb29c7c37b reword comment 2006-10-07 13:12:16 +00:00
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