Commit Graph

9090 Commits

Author SHA1 Message Date
Pierangelo Masarati
5ed0fc3749 re-fix previus commit the other way 'round (rids are < 1000) 2007-02-24 18:29:55 +00:00
Pierangelo Masarati
b0f63112be fix type/format mismatch 2007-02-24 18:00:46 +00:00
Howard Chu
0b70e471f0 Fix prev commit 2007-02-24 17:34:40 +00:00
Howard Chu
df3da23811 ITS#4848 better config context tracking 2007-02-24 17:24:48 +00:00
Pierangelo Masarati
e5ebfe6662 improve async connect handling in case of errors 2007-02-21 22:22:14 +00:00
Pierangelo Masarati
34fde82589 fix in-directory retcode lookup 2007-02-21 14:17:25 +00:00
Pierangelo Masarati
d130b7422f this should never occur, but in case keep it readable 2007-02-20 23:08:09 +00:00
Pierangelo Masarati
9555065fea only fetch user if and as soon as required by filter 2007-02-17 17:35:11 +00:00
Pierangelo Masarati
814e6a305f extensibleObject allows all 2007-02-17 17:31:45 +00:00
Howard Chu
06212e9de9 Plug leaks 2007-02-16 02:22:24 +00:00
Kurt Zeilenga
5953a397fc Fix C errors 2007-02-15 01:41:56 +00:00
Ralf Haferkamp
663d3bdf07 bdb-Database need objectclass "olcBdbConfig", removed double quotes from DNs 2007-02-14 16:16:08 +00:00
Howard Chu
9b6f1edf9e ITS#4830 move -lltdl earlier in link order 2007-02-14 15:28:57 +00:00
Howard Chu
e28627f1e2 Added "slapd" rewrite map handler, connection_fake_init2 to use existing
tmpmemctx without reinitializing
2007-02-14 08:51:47 +00:00
Howard Chu
7dc2199bfd Fix rev 1.312 2007-02-14 00:08:26 +00:00
Pierangelo Masarati
4e75fa6345 cleanup 2007-02-13 23:34:42 +00:00
Pierangelo Masarati
5d31a6247c minor fixes... 2007-02-13 23:33:54 +00:00
Howard Chu
59d4b38a7c syncinfo_free must be able to free multiple syncinfos 2007-02-13 14:35:53 +00:00
Howard Chu
f649d8a29c Cleanup si_ctxcsn and si_sids in db_destroy 2007-02-13 13:40:56 +00:00
Howard Chu
52aabd2d21 Coverity deadcode 2007-02-13 11:21:27 +00:00
Howard Chu
3eb81978f3 Coverity leak 2007-02-13 11:10:36 +00:00
Howard Chu
ab2a55d222 Coverity error 2007-02-13 11:03:41 +00:00
Howard Chu
aa19286296 Coverity scan - saved attr may not exist for a Replace 2007-02-13 11:03:16 +00:00
Howard Chu
2bdc0819b4 Fix attribute deletion 2007-02-12 01:01:01 +00:00
Howard Chu
e7c5b684d0 Rework module_unload API 2007-02-11 23:01:08 +00:00
Howard Chu
a031b99546 Fix prev commit 2007-02-11 14:37:21 +00:00
Howard Chu
f2355e91e0 Unconditionalize gmtime_mutex, always use it when calling lutil_csnstr 2007-02-11 13:52:55 +00:00
Howard Chu
762170350f Coverity - fix IPv6 addr parsing 2007-02-11 11:56:33 +00:00
Howard Chu
782b17eb56 Coverity scan errors 2007-02-11 11:39:00 +00:00
Pierangelo Masarati
a904cc015c fix crash related to ITS#4839; other issues seem to presist 2007-02-10 10:55:05 +00:00
Howard Chu
ba96ad0b90 Revert memberURL back to STRUCTURAL - test044 breaks otherwise 2007-02-09 18:58:24 +00:00
Howard Chu
b6273ef28a ITS#4833 refix 2007-02-09 18:49:38 +00:00
Howard Chu
10a0900e2e Fix prev commit, cleanup fakeroot entry before freeing 2007-02-09 17:39:49 +00:00
Howard Chu
94e7e3ba57 Fix prev commit, free fakeroot on teardown 2007-02-09 17:30:23 +00:00
Howard Chu
2d3c48ccd5 ITS#4838 fix fake root handling broken by prev commit 2007-02-09 17:23:00 +00:00
Howard Chu
fb583c3071 Revert prev commit 2007-02-08 10:29:40 +00:00
Howard Chu
57c5bbf7e4 Just use a readlock in cache loader 2007-02-08 09:27:35 +00:00
Howard Chu
0c25783cee use dn2id index for extended filters using entryDN 2007-02-08 06:43:28 +00:00
Howard Chu
810ff9ec9d ITS#4835 add disclaimers about these definitions, use Auxiliary 2007-02-08 02:41:56 +00:00
Howard Chu
113c25598e Add pointer to an existing document since the netscape.com URLs are dead. 2007-02-08 01:54:32 +00:00
Howard Chu
73eda09be3 Fix entry ordering in config_build_entry 2007-02-07 16:06:41 +00:00
Howard Chu
4642c21f65 ITS#4833 fix olcDatabase index offset 2007-02-07 16:00:03 +00:00
Howard Chu
b278a8967a Fix redundant frees 2007-02-07 15:09:30 +00:00
Howard Chu
290344e683 ITS#4752 add undo for schema entries. 2007-02-07 14:57:02 +00:00
Howard Chu
4e4356cf2c Fix redundant frees 2007-02-07 14:54:57 +00:00
Howard Chu
b06eeff43b ITS#4752 try to undo failed Modifies 2007-02-07 11:42:23 +00:00
Howard Chu
c5b33893f0 Fix fetching of initial contextCSN, updating from syncprov 2007-02-07 06:26:22 +00:00
Howard Chu
9d86bf253f Improve prev commit 2007-02-07 02:49:40 +00:00
Howard Chu
3fbcfa797e Re-fix ITS#4720, use rwlock 2007-02-07 01:08:54 +00:00
Howard Chu
04f46aa880 ITS#4832 fix unint'd var 2007-02-07 00:41:15 +00:00
Howard Chu
3f20aa245f Partially revert prev commit, delete unused parameter, fix psearch response 2007-02-06 05:58:01 +00:00
Howard Chu
1403491288 Fixes for glue and persist chaining 2007-02-06 05:29:00 +00:00
Howard Chu
9467269cef ITS#4623, entry_get has to pass thru glue layer too 2007-02-06 04:19:56 +00:00
Howard Chu
9381fc42a5 Add overlay hooks for entry_get_rw / entry_release_rw 2007-02-06 04:18:14 +00:00
Howard Chu
578a2b0db4 Default to no sid in initial cookie 2007-02-06 01:19:06 +00:00
Howard Chu
448f584fe5 Fix typo 2007-02-06 01:18:17 +00:00
Howard Chu
4067b97cf4 Add equality match for olcSyncrepl 2007-02-06 00:22:49 +00:00
Howard Chu
d87d11eb09 Add a debug message when skipping an old entry. 2007-02-06 00:06:09 +00:00
Howard Chu
21e4eb3dcc Fix prev commit - cannot shortcut initial sync 2007-02-05 23:54:07 +00:00
Howard Chu
250cbd286a Optimization: send sid in cookie to avoid getting our changes sent
back to us.
2007-02-05 23:10:22 +00:00
Howard Chu
4e193bc5cb Fix typos 2007-02-05 12:39:37 +00:00
Howard Chu
5f1fdfa515 Fix prev commit 2007-02-05 11:23:50 +00:00
Howard Chu
b5d8341569 Add timeout / network timeout to bindconf 2007-02-05 11:03:59 +00:00
Howard Chu
2432378de8 Fix compare_csns to accept new cookie when there are more CSNs than
we knew about before
2007-02-05 11:03:36 +00:00
Howard Chu
55b29bedf8 Fix prev commit, don't generate a new ctxcsn if we're a consumer with
an empty DB
2007-02-05 09:19:46 +00:00
Howard Chu
42aca03eea Fix typos 2007-02-05 07:55:24 +00:00
Howard Chu
d57ad4f3c0 More for contextCSN checks 2007-02-05 07:36:07 +00:00
Howard Chu
36571123ca Fix prev commit 2007-02-05 06:47:32 +00:00
Howard Chu
f41343aa21 Add entryCSN comparison for consistency check 2007-02-05 06:07:27 +00:00
Howard Chu
9320f002e3 Fix prev commit, doesn't need permissive modify 2007-02-05 05:59:43 +00:00
Howard Chu
21b49a09e7 Use permissive modify on contextCSN 2007-02-05 05:25:13 +00:00
Howard Chu
fffaea79eb Preliminary multi-context support for syncrepl. Passes all single-master
tests, needs multi-master testing.
2007-02-05 04:50:07 +00:00
Howard Chu
7d2a744acf Fix prev commit 2007-02-04 00:16:54 +00:00
Howard Chu
51549d2e5d Add olcServerID for configuring serverID portion of CSN 2007-02-04 00:02:38 +00:00
Howard Chu
0787d0c434 Always initialize global_host 2007-02-03 02:53:10 +00:00
Howard Chu
4b1bb81452 Add lutil_gettime() returning structured time with microseconds. Use
microseconds in CSNs. Omit microseconds from modifyTImestamp...
2007-02-02 23:10:30 +00:00
Pierangelo Masarati
5509c20961 keep SlapReply clean (ITS#4828) 2007-02-01 21:58:48 +00:00
Howard Chu
8b43a8475f Fix ITS#4827, was losing the entryCSN mod. 2007-02-01 05:21:21 +00:00
Howard Chu
384979a07d Note for future - we should provide macros for all of the syntaxes
listed in RFC4517 and just let users use them.
2007-01-31 11:35:20 +00:00
Howard Chu
9fc2268c73 Allow identical duplicate OID macro definitions. Makes it harmless
if multiple schema files declare the same macros for common syntax OIDs.
2007-01-31 11:26:04 +00:00
Howard Chu
6d0c164753 More for syncrepl support 2007-01-30 07:29:11 +00:00
Howard Chu
51e58c671e Fix q[-1] ref in prev commit 2007-01-29 23:56:59 +00:00
Howard Chu
67f16caec0 ITS#4823 allow zero-length IA5String 2007-01-29 04:39:54 +00:00
Pierangelo Masarati
ff9b674899 cleanup back-meta according to back-ldap 2007-01-28 00:53:11 +00:00
Pierangelo Masarati
917ae32030 more about quarantine separation 2007-01-28 00:31:47 +00:00
Pierangelo Masarati
e07dc8c757 fix more spurious return stuff; split quarantine in: detection, exploitation, recovery; describe failure reasons 2007-01-28 00:24:10 +00:00
Pierangelo Masarati
fd71fdf83e plug one-time leaks related to configuration 2007-01-27 21:15:11 +00:00
Howard Chu
f92dc7b5fa Partially revert prev commit, just omit the sl_mem_destroy 2007-01-27 18:38:24 +00:00
Pierangelo Masarati
60f48c1932 fix NULL attr value in accesslog (second bit of ITS#4821; might be made cleaner...) 2007-01-27 18:03:30 +00:00
Pierangelo Masarati
5bf79a5686 fix modify opattrs sync replication (ITS#4820; test019 can't be fixed right now) 2007-01-27 16:38:20 +00:00
Pierangelo Masarati
f5d26ed730 add helper (and cleanup) 2007-01-27 14:12:59 +00:00
Howard Chu
e6a009a43b Delete olcInclude support 2007-01-27 05:58:18 +00:00
Pierangelo Masarati
196fd6308d do not allow back-meta with no targets 2007-01-26 23:03:46 +00:00
Howard Chu
f58ea89c20 Must use case-insensitive comparisons on attr types 2007-01-26 02:18:44 +00:00
Pierangelo Masarati
6155d91143 don't return adminLimitExceeded unless LDAPv3; use largest among candidates timeouts 2007-01-26 01:59:30 +00:00
Pierangelo Masarati
cf226fb029 implement search timeout when the remote server does not respond in the specified timeout 2007-01-26 01:39:05 +00:00
Pierangelo Masarati
5a228fa87a implement search timeout when the remote server does not respond in the specified timeout 2007-01-26 00:40:54 +00:00
Pierangelo Masarati
ecc28ff57c fix cached connection taint in case of timeout 2007-01-26 00:40:05 +00:00
Howard Chu
9b5dbf9e35 Remove extraneous debug statements 2007-01-25 13:53:08 +00:00
Howard Chu
df31c884b4 Free main-thread keys in db_close, can't do it later because the env
will be gone.
2007-01-25 12:24:52 +00:00