Commit Graph

19220 Commits

Author SHA1 Message Date
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
62341e5b86 Forced commit - prev commit omits log entries for ops marked dont_replicate
and no_opattrs. Presumably some internal ops with only one or the other
flag set should still get logged, but if both are set, logging is skipped.
2010-08-04 08:16:33 +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
b0ccdd79fc ITS#6536 use the attr part of URIs. from Raphael Ouazana @ Linagora 2010-07-29 03:08:48 +00:00
Howard Chu
d2aac4ef22 ITS#6604 use LUTIL_GETPEEREID() 2010-07-28 22:26:35 +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
a1726d61e0 improve previous commit 2010-07-27 01:01:24 +00:00
Pierangelo Masarati
6c6e187b98 do not alter ld_nextref_proc (ITS#6602) 2010-07-27 00:55:51 +00:00
Pierangelo Masarati
0480296a1f document ldap_set_urllist_proc(3) (ITS#6601) 2010-07-27 00:47:18 +00:00
Pierangelo Masarati
d27038f6b4 fix previous commit 2010-07-26 19:45:36 +00:00
Pierangelo Masarati
c2ab1778a0 check mutex ownership 2010-07-26 19:26:59 +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
512c7ca273 ITS#6585 don't close invalid sockets 2010-07-21 23:41:17 +00:00
Howard Chu
71f062afee ITS#6595 remove unneeded token init code. From Rich Megginson @ RedHat. 2010-07-21 22:57:01 +00:00
Howard Chu
e0cac8a048 ITS#6589 allow self-signed server certs, from Rich Megginson @ RedHat.com 2010-07-14 23:11:34 +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
Pierangelo Masarati
9785c24661 return error (ITS#6581) 2010-06-24 19:26:22 +00:00
Quanah Gibson-Mount
8d30f419d6 dyngroup schema in LDIF format 2010-06-24 01:04:40 +00:00
Pierangelo Masarati
6e2422d97d cleanup previous commit 2010-06-23 17:44:56 +00:00
Ralf Haferkamp
7b2dc4c059 Send error to active psearches upon overlay removal 2010-06-23 16:34:25 +00:00
Pierangelo Masarati
cec460d3ee make sure non-anonymous bind uses DN and creds (ITS#6574) 2010-06-23 00:13:50 +00:00
Pierangelo Masarati
e338733c97 don't risk leaving around client library error codes; try to return additional information 2010-06-22 23:26:06 +00:00
Pierangelo Masarati
1242443553 don't risk leaving around client library error codes 2010-06-22 23:10:48 +00:00
Pierangelo Masarati
127c533853 use realloc 2010-06-21 20:24:20 +00:00
Howard Chu
3d2583e533 Test replication of cn=config with suffixmassage 2010-06-21 19:53:01 +00:00
Howard Chu
e43f0a2cf0 Fix rewriterule, free rewrite info in syncinfo_free 2010-06-21 18:01:29 +00:00
Howard Chu
995c4c5bb3 Fix prev commit, return NULL if rewrite returns original DN 2010-06-21 17:26:50 +00:00
Howard Chu
bdf52f4fc4 ITS#6577 potential fix, found using valgrind/drd. please test. 2010-06-20 21:28:04 +00:00
Howard Chu
00fc5e0a40 Add syncrepl suffixmassage 2010-06-19 03:24:24 +00:00
Howard Chu
6ee6739b48 Add suffixmassage processing 2010-06-19 03:15:41 +00:00
Howard Chu
bc82f314c3 Add config support for suffixmassage. Note - no actual massage code
present in this commit.
2010-06-19 01:29:39 +00:00
Howard Chu
9a0e94b4dc More for ITS#6572, fix copy/paste error 2010-06-17 22:05:33 +00:00
Howard Chu
8a197d1a6c Don't set bi_db_config since we have no config options 2010-06-13 22:02:15 +00:00
Howard Chu
28072167c7 ITS#6572 zero out freed DN vals. from mbackes@symas.com 2010-06-13 18:47:21 +00:00