Commit Graph

58 Commits

Author SHA1 Message Date
Pierangelo Masarati
052da7f8a2 check sat_equality before using it (ITS#6943) 2011-05-23 00:22:12 +02:00
Pierangelo Masarati
15c8ad1f46 make sure data is reset 2011-02-01 22:58:41 +00:00
Pierangelo Masarati
67a9ef8c33 give the caller a chance to use undefined filters (more about ITS#6814) 2011-01-31 21:53:56 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
b39e9d151d For ITS#5421: Remove ldap-int.h dependencies.
LDAP_FREE() -> ber_memfree(), msg->lm_ber -> ldap_get_message_ber(msg).
2010-11-22 12:51:44 +00:00
Pierangelo Masarati
9d2e03f052 allow to specify a per-database list of attributes that need to be always collected, even if not explicitly requested by clients (addresses ITS#6513) 2010-04-15 05:26:21 +00:00
Pierangelo Masarati
a3a603eca6 malloc as much as possible on slab 2010-04-15 05:11:23 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
5564ee0173 don't free before use 2010-04-12 16:24:01 +00:00
Pierangelo Masarati
d36099aa62 cleanup (related to ITS#5760) 2009-02-15 22:16:21 +00:00
Pierangelo Masarati
8f96e64605 let special attrnames slip through (ITS#5760) 2009-02-14 10:39:45 +00:00
Pierangelo Masarati
0374a8341a initialize ndn (ITS#5923) 2009-02-05 18:46:03 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
9401bd3817 normalize rewritten DN-valued attrs (ITS#5772) 2008-10-26 19:29:36 +00:00
Pierangelo Masarati
6845c2510d don't free and reuse filter structure; don't rewrite undefined filter values (ITS#5731,ITS#5732) 2008-10-09 22:34:43 +00:00
Pierangelo Masarati
bb4268a646 make sure objectClass is not filtered out by 'rwm-map attribute *' (ITS#5647) 2008-08-09 10:49:20 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
617bd11452 de-normalize simple filter values consistently 2007-10-05 09:49:19 +00:00
Pierangelo Masarati
4cf03ca277 fix ITS#5168 (a better fix would probably be a generic handler to de-normalize values) 2007-10-04 21:53:49 +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
Pierangelo Masarati
ca7ad7f2e3 fix searchFilter double free (ITS#5043) 2007-07-12 22:22:31 +00:00
Pierangelo Masarati
5d00861860 Solaris doesn't like NULL pointers in printf, which now can occur since IA5string allows the empty string 2007-02-26 23:57:34 +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
90b2976413 ITS#3707 changed SLAPD_FILTER_COMPUTED 2006-12-26 00:00:48 +00:00
Howard Chu
7d9361e498 Fix: don't modify original filter in filter_map_rewrite 2006-12-19 19:47:01 +00:00
Pierangelo Masarati
e01743193d more coverity issues 2006-04-14 00:17:27 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +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
b48ace2dfe more about ITS#4086: fix back-meta as well 2005-10-14 00:43:23 +00:00
Pierangelo Masarati
72080136d1 more cleanup 2005-10-14 00:17:51 +00:00
Pierangelo Masarati
f161b7f875 better fix to ITS#4086: treat mapping failures as undefined filter 2005-10-14 00:03:18 +00:00
Pierangelo Masarati
001e565577 temporarily fix ITS#4086 2005-10-13 22:43:46 +00:00
Pierangelo Masarati
9a64785e4d plug leaks; fix map initialization 2005-08-01 22:40:18 +00:00
Pierangelo Masarati
e161f50ac0 silence warning 2005-07-25 23:06:12 +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
Pierangelo Masarati
c7c572f883 fix ITS#3785: do our best to deal with invalid filters... 2005-06-16 19:27:03 +00:00
Pierangelo Masarati
b8b0bb000b honor T-F filters (ITS#3706) 2005-05-04 23:57:33 +00:00
Pierangelo Masarati
6076695eb8 handle the null lud_dn case... 2005-04-26 10:34:37 +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
b116bb3814 fix ITS#3499 (may need further testing) 2005-01-20 22:44:54 +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
d7bdb8cb24 disable referral rewrite in default suffix massage 2004-11-13 12:15:40 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +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
3b8111f1c4 use a separate field for a modified entry in SlapReply 2004-07-13 22:52:54 +00:00
Pierangelo Masarati
f4a428d060 cleanup 2004-07-12 22:33:44 +00:00
Pierangelo Masarati
22bd2667ce mostly done... 2004-07-11 22:57:51 +00:00