Howard Chu
784daf01e5
Fix DEVEL dependency
2007-09-01 00:11:42 +00:00
Howard Chu
d13d15c37a
Revert prev commit, don't advertise subord scope
2007-08-30 21:09:30 +00:00
Pierangelo Masarati
1b40253d4d
release certificateListValidate()
2007-08-30 20:27:13 +00:00
Howard Chu
f9bc1426ad
Fix SORTED_RESULTS check
2007-08-29 23:57:55 +00:00
Howard Chu
605fdacf51
unifdef LDAP_DEVEL for subordinate scope
2007-08-29 23:40:17 +00:00
Pierangelo Masarati
19330dc1cc
allow shutdown while syncrepl_del_nonpresent()
2007-08-29 18:13:12 +00:00
Pierangelo Masarati
eff90dc512
note what SID the server is assuming
2007-08-29 18:12:05 +00:00
Ralf Haferkamp
cd103f9010
Additional fix for ITS#4991. _cleanup callback was always executed when
...
needed.
2007-08-29 14:29:37 +00:00
Pierangelo Masarati
7ceaad7eb2
plug yet another leak
2007-08-29 00:27:47 +00:00
Pierangelo Masarati
6fb9790a15
plug another leak (hope it's general enough)
2007-08-29 00:14:33 +00:00
Pierangelo Masarati
e161e8efb6
fix test
2007-08-29 00:13:56 +00:00
Pierangelo Masarati
0bedad3b65
plug leak
2007-08-28 23:56:18 +00:00
Pierangelo Masarati
96767fee77
back out previous two commits
2007-08-28 23:13:29 +00:00
Pierangelo Masarati
c0f7dc78f7
fix uninit'ed var crasher
2007-08-28 23:00:36 +00:00
Pierangelo Masarati
a6fd7fa95a
add -S to slapadd to set desired SID in generated entryCSN/contextCSN
2007-08-28 19:35:57 +00:00
Pierangelo Masarati
5ed5bc5803
first round of CSN normalization consequences
2007-08-28 18:38:27 +00:00
Pierangelo Masarati
faa52ce410
forgot to re-sort operation names
2007-08-28 18:37:23 +00:00
Pierangelo Masarati
9a0797004f
if tool mode needs to add structuralObjectClass, override any database setting (rationale: if configured w/ mirror mode and syncrepl, a master is also a shadow, but we need to be able to slapadd to a master (possibly with the correct SID; will deal with this later)
2007-08-28 18:36:42 +00:00
Howard Chu
4ccb430c8c
Convert collect to dynamic config. Even though it's only a demo...
2007-08-28 09:19:07 +00:00
Pierangelo Masarati
47f1f66361
keep pretty and normal form of CSN the same...
2007-08-27 10:39:48 +00:00
Pierangelo Masarati
4db9863fa8
fix previous commit
2007-08-27 10:12:39 +00:00
Pierangelo Masarati
6edcf92419
also the MOD part is hex; preserve compatibility with OpenLDAP's 2.3 entryCSN
2007-08-27 10:09:46 +00:00
Pierangelo Masarati
81a4676571
add csnValidate/csnNormalize, since the SID could be hexadecimal, and we want upper/lowercase a-f to match as appropriate
2007-08-27 09:13:45 +00:00
Pierangelo Masarati
5674d38a17
allocate OID for back-sql configuration
2007-08-27 07:14:55 +00:00
Pierangelo Masarati
8931d68e37
close LDIF handler (valgrind)
2007-08-27 07:14:04 +00:00
Pierangelo Masarati
09cbbb92a7
need to copy the Entry to safely manipulate it
2007-08-27 07:13:25 +00:00
Pierangelo Masarati
5fb99e0a23
consistently dispose of limbo
2007-08-27 07:12:12 +00:00
Pierangelo Masarati
62504d7ef0
add anlist_free
2007-08-27 07:11:32 +00:00
Pierangelo Masarati
2082935657
so SIDs are hex
2007-08-27 07:09:57 +00:00
Pierangelo Masarati
7dc7c60c4b
improve previous commit; fix ITS#5108 by letting both SID and RID be 0..4095, input/output in decimal, but consistently handled in hexadecimals within CSN
2007-08-26 17:03:22 +00:00
Pierangelo Masarati
2132aa3b16
add support for CSNSIDMatch; use it to set contextCSN as appropriate when slapadd'ing -w
2007-08-26 15:39:45 +00:00
Pierangelo Masarati
7c66952714
check for shutdown (need to add to other backends?)
2007-08-26 15:38:51 +00:00
Pierangelo Masarati
b95e40f56f
cleanup
2007-08-26 15:38:20 +00:00
Pierangelo Masarati
af9233b9df
use LDAP_RES_UNSOLICITED for the response message id
2007-08-26 15:06:52 +00:00
Howard Chu
8367f0cfe4
revert prev commit, no gain
2007-08-26 14:37:12 +00:00
Howard Chu
ddc5c9f735
Just use read locks on the entry_db_lock
2007-08-26 13:49:35 +00:00
Pierangelo Masarati
e33abd467c
needs work: memberOf should not be replicated
2007-08-25 16:02:43 +00:00
Howard Chu
6d9e2cac21
Fix prev commit
2007-08-25 16:00:15 +00:00
Howard Chu
a1c088ed02
ITS#5077 again
2007-08-25 15:40:39 +00:00
Pierangelo Masarati
96611ac703
getting an abnormal number of empty syncUUID...
2007-08-25 15:15:05 +00:00
Pierangelo Masarati
071b77cf9d
better fix
2007-08-25 15:01:27 +00:00
Pierangelo Masarati
84143631ee
fix potential concurrency issue (not so potential, if we could regularly trigger it :)
2007-08-25 14:58:43 +00:00
Pierangelo Masarati
abca6f16a6
also improve massaged DN containment check
2007-08-25 10:57:08 +00:00
Pierangelo Masarati
2be301db66
improve URI DN containment check
2007-08-25 10:13:51 +00:00
Pierangelo Masarati
097420bfc4
fix typo
2007-08-25 09:37:59 +00:00
Howard Chu
528b3bc601
Fix aux/structural comment
2007-08-25 00:42:37 +00:00
Pierangelo Masarati
8f95ff260c
consistently use "tag=" instead of "op=" in debug messages
2007-08-25 00:10:52 +00:00
Howard Chu
da5c3285d2
Fix config delete
2007-08-24 23:56:55 +00:00
Howard Chu
ecf59634e9
Fix prev commit
2007-08-24 23:28:43 +00:00
Pierangelo Masarati
6f9519543e
- fix logging of controls;
...
- add support for Control syntax;
- use Control syntax and objectIdentifierFirstComponentMatch
with reqControls/reqRespControls
2007-08-24 23:13:41 +00:00
Pierangelo Masarati
72f009ac52
behave when a value of an ordered attr starts with '{' and either contains or not '}', but the prefix '{X}' does not contain a numericString
2007-08-24 23:05:10 +00:00
Howard Chu
7aaddee5bf
test_filter() should use ordered_value_match()
2007-08-24 22:34:04 +00:00
Pierangelo Masarati
30fbf95de1
allow to register further syntax/mr compatibility
2007-08-24 20:05:30 +00:00
Ralf Haferkamp
a57a24dab8
tcpd.h is already include in slap.h
2007-08-24 16:09:50 +00:00
Pierangelo Masarati
511a71067f
add logging of request/response controls
2007-08-24 12:50:01 +00:00
Pierangelo Masarati
ee8431b22d
add memberOf overlay
2007-08-24 02:46:55 +00:00
Howard Chu
2d4f198662
Add dgIdentity support
2007-08-23 23:33:37 +00:00
Howard Chu
ece1c226a1
Add dgIdentity from draft-haripriya-dynamicgroup-02
2007-08-23 02:09:17 +00:00
Howard Chu
7ef61c0ec0
Register dyngroup OID
2007-08-23 01:52:04 +00:00
Howard Chu
43463852f6
Add cn=config support
2007-08-23 01:40:09 +00:00
Pierangelo Masarati
25d46e7578
rework controls API
2007-08-22 22:35:14 +00:00
Pierangelo Masarati
7c9f63a60d
fix subtree rename integrity; curiously enough, tes023 only failed on 64 bit arch; probably because we'd need to double the stack of the slab on 64 bit archs...
2007-08-22 17:46:55 +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
Pierangelo Masarati
63b6bfd1a4
don't Statslog before getting controls
2007-08-22 14:41:42 +00:00
Pierangelo Masarati
99c92b74c9
handle response controls in exops
2007-08-22 12:07:27 +00:00
Pierangelo Masarati
05b9123a03
consistently use o_log_prefix
2007-08-22 09:17:09 +00:00
Pierangelo Masarati
8ef19246dc
fix previous commit (need to finish breakfast before committing...)
2007-08-22 08:57:23 +00:00
Pierangelo Masarati
00368b128a
log formatOID, possibly mapped to friendly name if known
2007-08-22 08:44:21 +00:00
Pierangelo Masarati
83eec9f96b
add session tracking support to essential exops
2007-08-22 00:41:47 +00:00
Pierangelo Masarati
1bdc186ea2
fix API change
2007-08-22 00:08:38 +00:00
Pierangelo Masarati
1a59d091bc
minimal implementation of draft-wahl-ldap-session-03
2007-08-21 22:47:54 +00:00
Pierangelo Masarati
6270bd9e82
cleanup experimental controls: rename macros, ifdef code
2007-08-21 21:42:09 +00:00
Pierangelo Masarati
70ed7d58a6
re-fix previous commit
2007-08-21 15:36:21 +00:00
Pierangelo Masarati
7bea240767
fix tree delete error handling
2007-08-21 15:19:01 +00:00
Pierangelo Masarati
9066d14290
add support for tree delete along with minor fixes (portions ITS#3497)
2007-08-21 14:52:43 +00:00
Pierangelo Masarati
cb05b0e935
fix control value presence
2007-08-21 14:50:32 +00:00
Pierangelo Masarati
b25eab8a7b
set authorizing backend
2007-08-21 11:37:33 +00:00
Pierangelo Masarati
145e6fc1f8
fix or comment Calysto findings
2007-08-21 10:52:16 +00:00
Pierangelo Masarati
f95fe8c756
fix yet another potential dereference of NULL op (caught by Coverity)
2007-08-20 22:09:19 +00:00
Howard Chu
df2dcbcbe6
More for ITS#5077
2007-08-20 20:00:15 +00:00
Pierangelo Masarati
2c13f86cec
support subtree rename (ITS#5097)
2007-08-20 19:06:18 +00:00
Pierangelo Masarati
af92ee5e65
check for SOFTADD as well
2007-08-20 19:05:07 +00:00
Pierangelo Masarati
4242ce20d6
rework connections so that they get cached on a per-thread basis (ITS#5095)
2007-08-20 00:27:47 +00:00
Howard Chu
4c7d288eb7
More for BDB 4.6 compatibility
2007-08-17 20:33:46 +00:00
Pierangelo Masarati
8e66538dc1
cleanup previous commit; make sure what's queryid and what's entryUUID
2007-08-17 16:37:29 +00:00
Pierangelo Masarati
970471d49c
fix queryDelete by queryID
2007-08-17 16:24:27 +00:00
Pierangelo Masarati
8be1b48263
set the number of cached entries after reload...
2007-08-17 15:46:44 +00:00
Pierangelo Masarati
ca1aed557b
make lutil_uuidstr_from_normalized() return the length of the string
2007-08-17 15:08:47 +00:00
Pierangelo Masarati
0c90b9ece2
revert previous commit: let queryId be an octet string, and modify queryDelete parsing accordingly
2007-08-17 15:04:28 +00:00
Pierangelo Masarati
86c67bd491
use UUID syntax for queryId
2007-08-17 14:43:50 +00:00
Pierangelo Masarati
1b0c4f5af5
fix UUID parsing (it's in normalized form)
2007-08-17 12:43:16 +00:00
Pierangelo Masarati
403704b7bc
move uuid normalized to string to liblutil
2007-08-17 12:42:52 +00:00
Pierangelo Masarati
553d83c3c1
fix previous commit
2007-08-17 12:38:50 +00:00
Pierangelo Masarati
2245aff52c
further fix specification
2007-08-17 11:36:34 +00:00
Pierangelo Masarati
a2badc7c3c
cleanup error messages; complete privateDB control and queryDelete exop specifications
2007-08-17 11:25:35 +00:00
Pierangelo Masarati
7c0a7571fb
add:
...
- support for the privateDB control, which allows regular LDAP operations
to address the private database instead of the proxied one.
This is essentially intended for cache monitoring and maintenance
- support for the queryDelete extended operation, which allows to delete
from the cache database either a cached query, specified by queryId,
or all queries related to a specific cached entry, specified by entryDN
2007-08-17 10:26:56 +00:00
Pierangelo Masarati
68ab6c87bd
rework previous commit: consistently remove queries, better memory handling and more
2007-08-17 09:57:46 +00:00
Pierangelo Masarati
995359548b
more consistent parsing checks
2007-08-17 09:53:47 +00:00
Pierangelo Masarati
ce6b685caf
rework previous commit
2007-08-17 09:52:31 +00:00
Pierangelo Masarati
36111934a3
allow "traditional" behavior (more for ITS#4962; please debate)
2007-08-17 09:51:29 +00:00