Commit Graph

9445 Commits

Author SHA1 Message Date
Pierangelo Masarati
371bf8f803 blind fix: I assume we need to restore ors_scope 2007-09-04 19:31:47 +00:00
Pierangelo Masarati
c73520ec08 fix idl lru deletion of last entry (ITS#5121) 2007-09-04 19:01:55 +00:00
Howard Chu
1800fbb307 ITS#5119 fix uninit'd nval after normalization failure 2007-09-04 05:40:41 +00:00
Pierangelo Masarati
12ea3e4304 check call consistency 2007-09-03 16:36:22 +00:00
Pierangelo Masarati
04cf328716 make sure n,o are non-zero, so j is initialized (coverity) 2007-09-03 16:31:33 +00:00
Pierangelo Masarati
9beb9f9f51 fix one-time leak (coverity) 2007-09-03 16:27:01 +00:00
Pierangelo Masarati
55e908dca2 fix helper pointer inizialization (coverity) 2007-09-03 16:22:53 +00:00
Howard Chu
75964a771f Use IA5String for olcDbConfig to allow empty strings 2007-09-03 00:41:30 +00:00
Howard Chu
f385341f46 Add IA5String macro 2007-09-03 00:40:52 +00:00
Howard Chu
f8fcb44d13 Fix PrintableString/IA5String commentary 2007-09-03 00:40:37 +00:00
Howard Chu
33f311d81f Read DB_CONFIG file in server and tool mode, for config conversions 2007-09-02 23:53:29 +00:00
Howard Chu
d316b89bc3 Fix schema undo crash 2007-09-02 23:47:49 +00:00
Howard Chu
2437abac38 ITS#5082 RE23 compatibility, allow olcPasswordHash in global entry 2007-09-02 13:24:14 +00:00
Howard Chu
e10a33753a Partially resurrect cn=Include stuff - parse from LDIF and ignore. 2007-09-02 12:01:56 +00:00
Howard Chu
dbac914e33 Hide log schema 2007-09-01 22:28:06 +00:00
Pierangelo Masarati
bcf9bce5f4 hide (experimental) schema 2007-09-01 16:09:06 +00:00
Pierangelo Masarati
c83b8b58a3 hide (experimental) schema 2007-09-01 16:01:29 +00:00
Pierangelo Masarati
f89f552d2a fix previous commit 2007-09-01 15:47:23 +00:00
Pierangelo Masarati
f6dc2b1032 hide (experimental) schema 2007-09-01 15:45:12 +00:00
Pierangelo Masarati
56d9a93ad4 authzMatch IS octetStringMatch 2007-09-01 15:44:24 +00:00
Pierangelo Masarati
4edd5cca23 hide (experimental) schema 2007-09-01 15:38:03 +00:00
Pierangelo Masarati
63a7a69b89 hide schema 2007-09-01 15:32:47 +00:00
Howard Chu
c06ed65f2a Protect Debug messages from NULL pointers 2007-09-01 13:35:34 +00:00
Quanah Gibson-Mount
dfe8eca92d ITS#5102 fix 2007-09-01 00:28:07 +00:00
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