Commit Graph

99 Commits

Author SHA1 Message Date
Pierangelo Masarati
2df4675ac3 don't set sm_nvalues unless required (ITS#5375) 2008-02-14 15:15:53 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
dcaa5a27f5 Partially revert prev commit, unintended. 2007-09-24 05:30:36 +00:00
Howard Chu
ebb9e029a7 Make slap_passwd_parse non-destructive 2007-09-23 04:40:51 +00:00
Howard Chu
a3547e2758 More for a_numvals 2007-09-23 04:40:16 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Pierangelo Masarati
00ad93ac70 also copy modifications we don't deal with, as they will be freed altogether (ITS#5124) 2007-09-07 09:38:38 +00:00
Pierangelo Masarati
2f5bfba296 let req_modify_s and req_modrdn_s have a common portion to interoperate within slap_mods_opattrs() (ITS#5093) 2007-08-16 09:48:53 +00:00
Pierangelo Masarati
5ec09e2f0a merge attributes as required after mapping; avoid objectClass duplicates (ITS#5091) 2007-08-14 11:46:29 +00:00
Pierangelo Masarati
d354844cf9 fix previous commit (crash if no rewrite but just mapping is present) 2007-08-11 09:28:33 +00:00
Ralf Haferkamp
3a9310431e Reworked recent backend API changes, now using a separate struct,
(ConfigReply) for the error messages.
2007-08-03 12:02:07 +00:00
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