Hallvard Furuseth
4064e3c15d
Re-fix ITS#6793 (back-ldap bad free of matchedDN).
...
Previous fix opened for a ITS#6758-style double free if the
caller was broken. Using REP_MATCHED_MUSTBEFREED is more robust.
2011-01-31 05:30:05 +00:00
Pierangelo Masarati
36d0a161ab
also handle RFC 4526 t-f filters in back-ldap (more about ITS#6814)
2011-01-29 14:23:53 +00:00
Pierangelo Masarati
b996c17eb2
handle undefined filters in back-ldap (more about ITS#6814)
2011-01-29 12:29:20 +00:00
Pierangelo Masarati
8fcc9b058b
handle undefined objectClass values in search filters (ITS#6814)
2011-01-29 10:30:17 +00:00
Howard Chu
d3b09ef2a9
ITS#5421 drop ldap-int.h
2011-01-19 21:27:16 +00:00
Hallvard Furuseth
3866da50f5
ITS#6793 Fix back-ldap bad free on matchedDN change
2011-01-17 10:55:41 +00:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Hallvard Furuseth
bdb078a778
ITS#6758 Reset dangerous REP_ENTRY_* flags.
...
If SlapReply.sr_un cannot contain an entry but does or soon may
contain another member than sru_search: Ensure nothing will see
leftover REP_ENTRY_* flags and try to clean up the "entry" there.
2010-12-31 20:53:17 +00:00
Hallvard Furuseth
d2b024be4a
ITS#6758 Reset some SlapReply flags & data.
...
Reset data more consistenlty. When resetting sr_entry after sending
data, reset sr_flag as well. Reset rs_attrs and Extended Operation
oid/data after setting and sending them.
2010-12-30 23:55:07 +00:00
Hallvard Furuseth
e1469fff44
For ITS#5421: Also LBER_FREE() -> ber_memfree()
2010-11-22 13:14:29 +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
1242443553
don't risk leaving around client library error codes
2010-06-22 23:10:48 +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
Kurt Zeilenga
3dadeb3efe
happy belated New Year
2010-04-13 22:17:29 +00:00
Pierangelo Masarati
9702081201
handle ordered values as appropriate (ITS#6516)
2010-04-12 18:01:37 +00:00
Pierangelo Masarati
f57a216f1c
use slab allocation
2010-04-12 07:44:56 +00:00
Pierangelo Masarati
5118f06b13
plug leak/logical error (ITS#6326)
2009-10-07 22:46:35 +00:00
Pierangelo Masarati
148cc2f2fc
silence warnings
2009-08-19 13:20:11 +00:00
Howard Chu
6f8323590e
More explicit for prev commit
2009-03-06 04:00:38 +00:00
Howard Chu
4fc4cb7995
ITS#6003, #5916 fix ldap_back_entry_get_rw, no deref here
2009-03-06 03:57:35 +00:00
Howard Chu
1f5937f993
More for prev
2009-02-27 06:57:09 +00:00
Howard Chu
bfdb727446
Fix potential double-free of filter on abandon
2009-02-27 06:39:43 +00:00
Howard Chu
e6eff03373
ITS#5977 fix typo
2009-02-27 01:58:09 +00:00
Pierangelo Masarati
7fe91339df
fix ITS#5959 fix
2009-02-27 01:45:20 +00:00
Howard Chu
7549abb063
Better fix for prev
2009-02-27 01:31:31 +00:00
Howard Chu
6345812f49
More for prev commit
2009-02-27 01:28:22 +00:00
Howard Chu
62eeafa1d9
ITS#5977 strip duplicates out of sorted attrs
2009-02-27 01:11:33 +00:00
Howard Chu
2024d5af85
ITS#5959 drop illegal values, only drop attr if it's left empty
2009-02-20 02:02:17 +00:00
Pierangelo Masarati
a5924e3092
more on ITS#5931: handle intermediate responses and support syncrepl also in back-ldap
2009-02-10 14:27:28 +00:00
Pierangelo Masarati
911b5fd42e
do not assert when receiving intermediate response (partial fix to ITS#5931)
2009-02-09 14:55:56 +00:00
Pierangelo Masarati
bdb121c967
discard attribute values if attribute name cannot be parsed (ITS#5927)
2009-02-07 15:09:18 +00:00
Howard Chu
2b08e96b53
ITS#5916 - externally callable functions are ldap_pvt, not ldap_int.
2009-02-02 21:14:34 +00:00
Pierangelo Masarati
0ded1f16d5
Allow alias dereferencing in search C API; use new API in proxy backends (ITS#5916)
2009-01-31 10:27:07 +00:00
Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +00:00
Pierangelo Masarati
2f32c29e4a
don't bailout in case of insufficientAccess (ITS#5816)
2008-11-18 01:29:34 +00:00
Pierangelo Masarati
969a0aef0e
canonicalize undef objectClass names (much like attributes; ITS#5681)
2008-09-04 08:05:17 +00:00
Pierangelo Masarati
adc358f664
free filter before overlays' cleanup callback
2008-07-15 12:31:08 +00:00
Pierangelo Masarati
d0dd945882
fix potential leak in previous commit
2008-07-15 08:54:41 +00:00
Pierangelo Masarati
5c53e3ad72
improve previous commit (ITS#5614)
2008-07-14 22:44:01 +00:00
Pierangelo Masarati
30ffa33d7e
do not propagate undefined or otherwise broken search filters (ITS#5614)
2008-07-14 22:14:49 +00:00
Pierangelo Masarati
c6f12694fc
allow proxies to filter out search references (ITS#5593)
2008-07-07 21:25:59 +00:00
Pierangelo Masarati
20e8da9ba7
lookup entries as LDAP_REQ_SEARCH (ITS#5513)
2008-05-17 11:36:44 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +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
eb51129e29
alloc temporaries on slab
2007-09-15 17:33:59 +00:00
Pierangelo Masarati
d1c4d6481f
further fix ITS#5138 (please review)
2007-09-15 17:30:07 +00:00
Howard Chu
5cd816f4eb
ITS#5138 don't scan past the sequence of attributes
2007-09-15 03:08:32 +00:00
Pierangelo Masarati
9a00bbb35f
add support for session tracking (draft-wahl-ldap-sessio) to proxy backends requests
2007-08-22 15:49:35 +00:00
Howard Chu
d6ef5f3a0d
ITS#5025 clear sr_entry before sending search reference
2007-06-19 20:04:36 +00:00