Commit Graph

9364 Commits

Author SHA1 Message Date
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