Commit Graph

11000 Commits

Author SHA1 Message Date
Pierangelo Masarati
dc78654c0b make sure so is correctly initialized (spotted by valgrind, possibly related to ITS#6649) 2010-09-18 18:27:28 +00:00
Pierangelo Masarati
50a21d512f cleanup related to ITS#6565 (also plugs a leak) 2010-09-10 22:19:41 +00:00
Pierangelo Masarati
dfe1f2e572 hack to try as hard as possible to recover a broken database (ITS#6482) 2010-09-09 21:49:04 +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
aa63f21e4f cleanup previous commit 2010-09-09 00:57:04 +00:00
Pierangelo Masarati
fa7d65bbbe minor cleanup 2010-09-09 00:56:22 +00:00
Pierangelo Masarati
65b042b4fb if required by the bindconf configuration, force TLS (partially addresses ITS#6642) 2010-09-09 00:12:01 +00:00
Pierangelo Masarati
00efc1c507 check return code (ITS#6643) 2010-09-08 17:31:50 +00:00
Pierangelo Masarati
79d4e4cf6a add support for ADD_IF_NOT_PRESENT and SOFTDEL internal modification types (ITS#6561) 2010-09-07 13:21:20 +00:00
Pierangelo Masarati
856f1b401a allow '-o value-check={yes|no}' for optional value checking, disabled in quick mode (ITS#6592) 2010-09-07 05:47:55 +00:00
Pierangelo Masarati
34f4f38acc cleanup option parsing 2010-09-07 05:45:36 +00:00
Pierangelo Masarati
c405143a0a ignore undefined attrs (ITS#6600, based on patch by Jonathan CLARKE) 2010-09-07 02:03:23 +00:00
Pierangelo Masarati
c78014bc5d make sure callback is freed (ITS#6640) 2010-09-07 02:01:35 +00:00
Pierangelo Masarati
938778ffd9 free controls, if needed (ITS#6629) 2010-08-29 17:23:08 +00:00
Pierangelo Masarati
8be2af29bb plug leak when ARG_OFFSET and ARG_BERVAL (ITS#6634) 2010-08-29 16:28:16 +00:00
Pierangelo Masarati
9146659c6c plug leak when presence filter with undef attr (ITS#6635) 2010-08-29 16:27:08 +00:00
Pierangelo Masarati
eb11ba008c let the error propagate to overlays (ITS#6633) 2010-08-29 15:35:47 +00:00
Pierangelo Masarati
df2573b4a9 hacks ITS#6632 2010-08-29 08:08:42 +00:00
Pierangelo Masarati
15d737badb fix potential leak introduced by fix to ITS#6574 2010-08-29 00:35:49 +00:00
Kurt Zeilenga
81912bd377 Remove extraneous ber_peek_tag() call 2010-08-27 21:44:00 +00:00
Pierangelo Masarati
3e2ca2f8b2 support back-config (ITS#6624, Ondrej Kuznik) 2010-08-17 18:56:29 +00:00
Pierangelo Masarati
672e87776a fix previous commit (ITS#6611) 2010-08-17 01:05:40 +00:00
Pierangelo Masarati
ab4f21d5a0 fix buffer overflow in ACL unparse (ITS#6611) 2010-08-17 00:54:11 +00:00
Pierangelo Masarati
abc5b002a7 blind fix for ITS#6621 2010-08-13 00:55:57 +00:00
Pierangelo Masarati
f6a693a4ed (blind) support for long long keys (ITS#6617; needs ITS#6622 patch) 2010-08-12 23:33:54 +00:00
Pierangelo Masarati
4a8d873529 fix function name in logs 2010-08-12 22:44:10 +00:00
Pierangelo Masarati
bca5e0ed1e (blind) addition of 'autocommit' configuration statement (ITS#6612) 2010-08-10 19:55:28 +00:00
Pierangelo Masarati
4fbbedcf29 quick fix for ITS#6616; root cause not clear yet 2010-08-07 22:34:36 +00:00
Pierangelo Masarati
7c19cf6547 minor cleanup 2010-08-07 22:32:59 +00:00
Pierangelo Masarati
41fe685d35 improve ID logging when arbitrary key is set (almost blind fix; compiles in both cases) 2010-08-07 22:30:53 +00:00
Howard Chu
5cf46a8820 Fix up winsock init 2010-08-06 03:32:42 +00:00
Howard Chu
8cddd34852 Add support for multiple listener threads. Lightly tested on Linux,
Winsock needs a couple more tweaks
2010-08-06 03:24:24 +00:00
Howard Chu
a8ffb63331 Better fix - avoid allocating callback for non-logged mod ops 2010-08-04 08:50:29 +00:00
Howard Chu
21d299e370 More for ITS#6608 - don't replicate ppolicy state changes on replicas 2010-08-04 08:14:59 +00:00
Howard Chu
9434a7d676 ITS#6608 don't update mod opattrs on single-master slaves 2010-07-28 02:43:21 +00:00
Howard Chu
7e7f24f13f ITS#6606 send error if consumer is newer than provider 2010-07-28 02:21:27 +00:00
Pierangelo Masarati
22e5e49f26 use request/referral DN, scope, filter according to RFC4511 (related to ITS#6565) 2010-07-22 19:17:20 +00:00
Howard Chu
c7305c4133 Check for SLAP_SYNTAX_DN flag instead of distinguishedName syntax 2010-07-12 03:20:57 +00:00
Howard Chu
ce11612e9b Add SLAP_SYNTAX_DN syntax flag 2010-07-12 03:17:02 +00:00
Pierangelo Masarati
08763f42ed cleanup connection release 2010-07-03 01:09:17 +00:00
Ralf Haferkamp
beb536298d use be_ctrls[cid] for counting the number of overlay instances that have
registered the control for a specific BackendDB to make sure that
the control is unregistered only after the last instance calls
overlay_unregister_control().
2010-07-02 11:31:34 +00:00
Ralf Haferkamp
81dcd3ca58 Fixed last commit. gcc was complaining about defined behavior. 2010-07-02 07:43:29 +00:00
Howard Chu
3b2cef17eb ITS#6577 real fix: keep dn2id cursor open until we re-acquire lock
on entryInfo, otherwise BDB locks in reader txn are released too soon
2010-07-01 16:38:32 +00:00
Ralf Haferkamp
c4f0c2cc2b unregister controls when removing syncprov, ppolicy, valsort, chain or
sssvlv overlay
2010-07-01 11:51:43 +00:00
Ralf Haferkamp
7f70a7aad6 New call to unregister controls registered form overlays 2010-07-01 11:28:47 +00:00
Ralf Haferkamp
b435efa694 new call unregister_supported_control(), will be
needed for cn=config delete support
2010-06-30 12:38:01 +00:00
Pierangelo Masarati
14fcbf4cfc implement unload_extop for symmetry (needs test) 2010-06-30 00:22:01 +00:00
Howard Chu
f12290c64f move slap_graduate_commit_csn() to after entry lock is released 2010-06-30 00:00:59 +00:00
Ralf Haferkamp
21bac1cbed Disallow removing global and cn=config overlays for now.
Those require some special handling.
2010-06-29 16:23:31 +00:00
Pierangelo Masarati
a6ab844c17 cleanup previous commit (ITS#6581) 2010-06-26 04:44:06 +00:00