Howard Chu
858a11d72f
Fix whitespace
2012-08-19 13:04:33 -07:00
Howard Chu
842d1b5a17
Added delete support
2012-08-19 12:49:02 -07:00
Howard Chu
aa91738bc1
Fix rewrite/suffixmassage parsing
2012-08-19 01:25:07 -07:00
Howard Chu
e21d97385d
Finished emit support
2012-08-19 00:32:43 -07:00
Howard Chu
dde9480cbd
Initial emit support
2012-08-18 00:53:44 -07:00
Howard Chu
fb4d515195
Factor out common attrs from main and target
2012-08-17 21:27:35 -07:00
Howard Chu
54de37c0e1
Initial config support for back-meta
...
Currently just a direct replacement of slapd.conf parsing,
no dynamic features yet.
2012-08-17 14:04:48 -07:00
Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Howard Chu
50e02126b7
ITS#7050 fix uninit'd return code in back-meta
2011-12-12 11:52:05 -08:00
Howard Chu
45ce60c094
ITS#6909 blind fix. re-init creds for retry.
...
Move retry so that cred validity is also re-checked.
2011-04-23 21:11:52 -07:00
Pierangelo Masarati
05b5405c5e
fix potential deadlock in back-meta (ITS#6846)
2011-02-28 09:27:18 +00:00
Pierangelo Masarati
539a6902de
do not denormalize attrs without equality rule (ITS#6818)
2011-01-31 21:20:33 +00:00
Pierangelo Masarati
34a21b7f40
add support for subtree-include (ITS#6801); improve support for subtree-exclude
2011-01-22 15:47:37 +00:00
Howard Chu
d3b09ef2a9
ITS#5421 drop ldap-int.h
2011-01-19 21:27:16 +00:00
Pierangelo Masarati
f62b4a55c1
fix and improve candidate selection (ITS#6799)
2011-01-19 17:36:35 +00:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Pierangelo Masarati
fc6bd40dfc
make sure matched is NULL when err=SUCCESS (ITS#6774)
2011-01-04 18:27:02 +00:00
Pierangelo Masarati
8fcd55bdc0
no need for next control
2011-01-04 16:17:24 +00:00
Pierangelo Masarati
342980d116
use Paged Results when talking to targets (in response to ITS#6664)
2011-01-03 17:52:55 +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
15aa7c472a
noop commit: cleanup 0 -> REP_RESULT in SlapReply
2010-12-31 14:08:34 +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
2ec0347152
set rebind proc if needed and bind succeeds (ITS#6665)
2010-10-08 22:42:55 +00:00
Pierangelo Masarati
1760501cea
add per-target tls options; start tls if required by idassert (ITS#6642)
2010-09-09 01:30:19 +00:00
Pierangelo Masarati
fa7d65bbbe
minor cleanup
2010-09-09 00:56:22 +00:00
Pierangelo Masarati
00efc1c507
check return code (ITS#6643)
2010-09-08 17:31:50 +00:00
Pierangelo Masarati
15d737badb
fix potential leak introduced by fix to ITS#6574
2010-08-29 00:35:49 +00:00
Pierangelo Masarati
08763f42ed
cleanup connection release
2010-07-03 01:09:17 +00:00
Pierangelo Masarati
6e2422d97d
cleanup previous commit
2010-06-23 17:44:56 +00:00
Pierangelo Masarati
cec460d3ee
make sure non-anonymous bind uses DN and creds (ITS#6574)
2010-06-23 00:13:50 +00:00
Pierangelo Masarati
e338733c97
don't risk leaving around client library error codes; try to return additional information
2010-06-22 23:26:06 +00:00
Pierangelo Masarati
d43cabbcc1
make sure bind credentials are consistent
2010-05-24 22:22:53 +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
6632ea601f
use slab memory as much as possible
2010-04-13 05:03:34 +00:00
Pierangelo Masarati
9702081201
handle ordered values as appropriate (ITS#6516)
2010-04-12 18:01:37 +00:00
Pierangelo Masarati
20359f2020
fix previous commit (ITS#6267)
2009-08-24 00:41:12 +00:00
Hallvard Furuseth
c0e0a64799
Silence warning (missing braces ininitializer)
2009-08-19 18:58:28 +00:00
Pierangelo Masarati
69878f43c8
refactor connection handling
2009-08-19 16:45:15 +00:00
Pierangelo Masarati
bdec7702d7
better logging of privileged connections (more to come; might be unstable for a bit)
2009-08-19 15:00:59 +00:00
Pierangelo Masarati
efabe1d279
honor per-target tls/chase referrals/rebind as user (ITS#6190)
2009-08-13 19:30:37 +00:00
Howard Chu
e6eff03373
ITS#5977 fix typo
2009-02-27 01:58:09 +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
755e645da3
ITS#5977 strip duplicates out of sorted attrs
2009-02-27 01:22:23 +00:00
Howard Chu
384f23f59d
ITS#5959, cleanup
2009-02-20 02:01:07 +00:00
Howard Chu
1e4060891f
ITS#5959 just drop illegal values, keep remainder if any. fix a_numvals.
2009-02-20 01:48:19 +00:00
Howard Chu
4e09f864a9
ITS#5959 drop attrs with illegal values
2009-02-19 02:05:28 +00:00
Pierangelo Masarati
8fa2f07531
do not let entryDN,subschemaSubentry slip into results when mapped out (ITS#5760)
2009-02-14 14:13:46 +00:00
Pierangelo Masarati
203eaa6204
consistently map operational attrs as well (ITS#5760)
2009-02-14 13:58:09 +00:00
Pierangelo Masarati
8f96e64605
let special attrnames slip through (ITS#5760)
2009-02-14 10:39:45 +00:00
Pierangelo Masarati
5d78ca3c6a
fix previous commit (and ITS#5931: now back-meta allows to proxy syncrepl)
2009-02-10 14:08:16 +00:00
Pierangelo Masarati
899398b937
partially addresses an issue with ITS#5931: intermediate responses seem to be handled, as well as entries with controls; syncrepl does not work yet
2009-02-10 13:58:09 +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
Pierangelo Masarati
4572e7d721
proxy RFC4525 increment; bail out in case of unsupported extension (ITS#5912)
2009-01-29 20:30:19 +00:00
Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +00:00
Pierangelo Masarati
549455c6c6
fix alias deref in case of retry (ITS#5889)
2009-01-21 08:55:48 +00:00
Pierangelo Masarati
5a50733e39
don't send error when going to retry (alternative fix to ITS#5854)
2008-12-12 09:29:51 +00:00
Hallvard Furuseth
e8afbb70fc
Warning cleanup: signed meets unsigned.
2008-10-13 08:29:21 +00:00
Hallvard Furuseth
3b90f84422
Fix typo in assertion: j1 + j1 -> j1 + j2. (Not a crasher, just wrong test.)
...
Warning cleanup: Missing braces in initialization. signed meets unsigned.
2008-10-13 07:55:02 +00:00
Pierangelo Masarati
4aa9edf03e
cleanup round of memory handling (either check results or use ch_* calls; ITS#5691)
2008-09-09 19:58:47 +00:00
Pierangelo Masarati
dae38c56cd
let undefined objectClasses be used in proxy filters
2008-09-04 10:13:30 +00:00
Pierangelo Masarati
969a0aef0e
canonicalize undef objectClass names (much like attributes; ITS#5681)
2008-09-04 08:05:17 +00:00
Pierangelo Masarati
4d71b2f9c0
make sure objectClass is not filtered out by 'map attribute *' (ITS#5647)
2008-08-09 10:54:31 +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
f48d99cb77
fix quarantine (ITS#5592)
2008-07-12 15:22:39 +00:00
Pierangelo Masarati
c6f12694fc
allow proxies to filter out search references (ITS#5593)
2008-07-07 21:25:59 +00:00
Pierangelo Masarati
292b96c4e1
extra needed by config (ITS#5355)
2008-06-30 10:01:41 +00:00
Howard Chu
010295e9e7
More symbols for ITS#5355
2008-06-29 21:13:03 +00:00
Pierangelo Masarati
ffffa52470
revert test logic
2008-05-22 17:43:12 +00:00
Pierangelo Masarati
a4d14fb2ef
missing numvals (ITS#5481)
2008-04-21 16:43:50 +00:00
Pierangelo Masarati
66b581643f
make pseudoroot-bind-defer TRUE by default (part of ITS#5440 fix)
2008-04-12 11:33:48 +00:00
Pierangelo Masarati
f3eeb81458
a connection cannot be privileged and be in the avl tree at the same time (related to ITS#5440?)
2008-03-29 18:17:21 +00:00
Pierangelo Masarati
71cabe40c3
print targets' status
2008-03-29 18:16:34 +00:00
Pierangelo Masarati
b23e4f15a9
make sure orr_newrdn is passed correctly to libldap (ITS#5397)
2008-02-28 16:22:23 +00:00
Pierangelo Masarati
2df4675ac3
don't set sm_nvalues unless required (ITS#5375)
2008-02-14 15:15:53 +00:00
Howard Chu
f481ffef9c
ITS#5355 use bi_extra instead of calling directly into back-ldap
2008-02-08 02:01:17 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Pierangelo Masarati
30f401c628
rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309)
2008-01-07 21:35:03 +00:00
Pierangelo Masarati
7aeac21440
silence warnings
2007-11-23 12:47:53 +00:00
Pierangelo Masarati
e25169ccce
set BINDING appropriately (ITS#5185)
2007-10-13 10:13:38 +00:00
Pierangelo Masarati
617bd11452
de-normalize simple filter values consistently
2007-10-05 09:49:19 +00:00
Pierangelo Masarati
55a988831a
ITS#5168 also affects back-meta
2007-10-04 22:18:34 +00:00
Pierangelo Masarati
fedcbe9a41
better fix for ITS#5154
2007-09-29 11:45:37 +00:00
Pierangelo Masarati
a0d26ada9c
plug leak (ITS#5155)
2007-09-26 22:10:16 +00:00
Pierangelo Masarati
ebf7338b8b
temporary fix to ITS#5154
2007-09-26 20:57:25 +00:00
Howard Chu
c4dbe1a274
Attribute/Modification value counters
2007-09-21 08:43:56 +00:00
Pierangelo Masarati
43c00ab486
fix previous commit
2007-09-15 18:03:55 +00:00
Pierangelo Masarati
d92e8ad1f7
add helper for internal searchs for objectClass=*
2007-09-15 17:38:53 +00:00
Pierangelo Masarati
5569180736
draft-wahl-ldap-session: append further instances of the control
2007-09-15 17:26:09 +00:00
Pierangelo Masarati
60b03d4103
don't leak in case of error
2007-09-13 18:47:36 +00:00
Pierangelo Masarati
d6baaffbec
HEADS-UP: now the list of URIs is better set by using separate arguments
2007-09-13 18:34:04 +00:00
Pierangelo Masarati
af9e17379b
further rework URI parsing
2007-09-13 17:55:45 +00:00
Howard Chu
784daf01e5
Fix DEVEL dependency
2007-09-01 00:11:42 +00:00
Pierangelo Masarati
abca6f16a6
also improve massaged DN containment check
2007-08-25 10:57:08 +00:00