Commit Graph

8580 Commits

Author SHA1 Message Date
Howard Chu
9de3d9c277 Fix idletimeout deadlock 2006-05-19 22:47:33 +00:00
Pierangelo Masarati
16661063d0 silence warnings 2006-05-19 22:37:52 +00:00
Pierangelo Masarati
29af5f93ee fix limits unparse 2006-05-19 22:34:04 +00:00
Howard Chu
fde6482629 Cleanup (revert ITS#4472, etc.) 2006-05-19 15:51:09 +00:00
Howard Chu
e6475734fa ITS#4549, rewritten query_containment etc... 2006-05-19 15:25:33 +00:00
Howard Chu
4cc18ee8d4 ITS#4549 kludge, get tavl_ routines referenced 2006-05-19 15:24:56 +00:00
Howard Chu
f0adb769ad Cleanup query attrs 2006-05-19 09:15:42 +00:00
Howard Chu
8eace69ddb Cleanup template searching 2006-05-19 08:07:59 +00:00
Pierangelo Masarati
fcbc1f484d fix referrals return for ops other than search (ITS#4557); use slab memory for temporaries in returning referrals 2006-05-18 22:28:22 +00:00
Howard Chu
9e50b2d0a1 ITS#4552 just rely on ACLs when adding entries under the suffix. 2006-05-18 01:18:48 +00:00
Pierangelo Masarati
9b388e5328 fix cleanup concurrency 2006-05-17 01:34:46 +00:00
Howard Chu
58099cc045 coverity cleanup 2006-05-16 22:16:27 +00:00
Howard Chu
1135d19f16 ITS#4466 fix typo, uninit'd var 2006-05-16 22:16:13 +00:00
Howard Chu
bb11c81178 ITS#4550 don't overwrite remote server's err msg 2006-05-16 21:45:31 +00:00
Howard Chu
5f3bc1f7ec Fix ITS#4450, don't overwrite remote server's rs->sr_text 2006-05-16 21:30:10 +00:00
Pierangelo Masarati
073f14ceac lc_bound_ndn is occasionally saved to keep track of who bound; don't use it to bind unless credentials are present as well 2006-05-16 02:56:59 +00:00
Howard Chu
33a3448964 Cleanup - no more SLAP_MULTI_CONN_ARRAY 2006-05-16 01:22:47 +00:00
Pierangelo Masarati
9c9b6f7353 idassert: setup rebind stuff when binding for proxyAuthz, so that referral chasing tries to rebind with the correct identity (partially address ITS#3526) 2006-05-16 01:10:51 +00:00
Pierangelo Masarati
b0c304f759 fix referral rewriting (ITS#4548) 2006-05-16 00:57:46 +00:00
Pierangelo Masarati
3b7084c170 reset the conn field in the cached connection if the bound DN is privileged (ITS#4547) 2006-05-15 01:42:05 +00:00
Pierangelo Masarati
1c16fa382a line up back-meta to ITS#4546 2006-05-14 18:10:23 +00:00
Pierangelo Masarati
26d1fc8c48 more cleanup of previous commits 2006-05-14 18:09:56 +00:00
Pierangelo Masarati
f87e6270d4 improve previous commit 2006-05-14 17:53:40 +00:00
Pierangelo Masarati
0c2c3ea7e1 typo in previous commit 2006-05-14 17:34:18 +00:00
Pierangelo Masarati
0c33c17bb5 "single-conn" forces flushing of existing conns during rebind on same conn (ITS#4546) 2006-05-14 17:32:15 +00:00
Pierangelo Masarati
6910b36df8 more checks 2006-05-14 16:29:49 +00:00
Pierangelo Masarati
3393b15594 cleanup resource release 2006-05-14 15:11:53 +00:00
Pierangelo Masarati
092aade428 cleanup 2006-05-14 15:11:23 +00:00
Howard Chu
813b95941e Fixed version of rev 1.361 2006-05-14 03:37:17 +00:00
Howard Chu
0b79eab474 Cleanup epoll read / error behavior 2006-05-14 00:26:33 +00:00
Howard Chu
1cf58aba1c Revert prev commit, spoke too soon, close race condition came back. 2006-05-13 12:35:12 +00:00
Howard Chu
d74a230229 Simplify connection mutexes 2006-05-13 11:50:00 +00:00
Pierangelo Masarati
93b88e0bbf make sure realloc'd memory is reset 2006-05-13 02:06:10 +00:00
Pierangelo Masarati
87ba3eb8b0 refine previous commits (don't leave bindings around) 2006-05-12 19:25:31 +00:00
Pierangelo Masarati
c1c8c05c1b first round at adding passwd exop support to slapo-rwm (ITS#4458) 2006-05-12 15:38:58 +00:00
Ralf Haferkamp
4d46b8b747 Additional fix for ITS#4522. The "dn=" ist not optional. 2006-05-12 11:48:57 +00:00
Howard Chu
d921fcb0c9 ITS#4531 temporarily go back to using quick sort instead of radix sort 2006-05-11 20:05:53 +00:00
Kurt Zeilenga
6651d19320 cleanup 2006-05-11 18:55:50 +00:00
Howard Chu
d8aabb008f ITS#4537 placate braindead compiler 2006-05-11 18:04:26 +00:00
Ralf Haferkamp
cf1304147d Add Pre- and Postread Control to the supported controls (ITS#4538) 2006-05-11 16:45:33 +00:00
Pierangelo Masarati
914bf9926f add "-n" to omit trailing newline 2006-05-11 14:36:20 +00:00
Howard Chu
a0ee28698c ITS#4516 clear restricted status if other Binds have succeeded 2006-05-11 13:39:44 +00:00
Howard Chu
837e9466b8 ITS#4534 propagate CSN for delete syncID sets 2006-05-11 10:46:44 +00:00
Howard Chu
6e751774c4 Fix for !LDAP_SYSLOG 2006-05-11 04:43:17 +00:00
Howard Chu
ad7d644437 Omit trailing newline from generated password, so it may be directed
to a file and used by commandline tools
2006-05-11 03:09:40 +00:00
Howard Chu
b8b8ca1814 Rearrange, ARGS_TYPES should not be bitmasks 2006-05-11 02:13:03 +00:00
Howard Chu
4bf6f8e348 ITS#4535 set default cn=config access to NONE 2006-05-11 00:40:34 +00:00
Pierangelo Masarati
7cc29d2547 allow slappasswd to generate cleartext secret 2006-05-11 00:12:54 +00:00
Pierangelo Masarati
fbbb8a5d93 fix ITS#4522; imply "+0" when no access is given 2006-05-10 22:25:06 +00:00
Pierangelo Masarati
d79fd46f33 don't allow "none" as access level 2006-05-10 22:23:24 +00:00
Howard Chu
f38bf4b362 plug leaks 2006-05-10 13:03:42 +00:00
Howard Chu
ed25c75d60 plug leak 2006-05-10 12:53:36 +00:00
Howard Chu
cc260ed6a0 coverity cleanup 2006-05-10 12:36:49 +00:00
Ralf Haferkamp
b8bf18f36b ITS#4532: check *pre/postread_ctrl before freeing 2006-05-10 09:07:37 +00:00
Pierangelo Masarati
42ab45aed2 fix warning message 2006-05-09 20:32:25 +00:00
Howard Chu
ab7e975159 check for NULLs from ber_mem funcs 2006-05-09 11:09:04 +00:00
Howard Chu
6b4de96679 plug leak 2006-05-09 10:52:22 +00:00
Howard Chu
0a43acc732 coverity cleanup 2006-05-09 10:41:05 +00:00
Howard Chu
912ff2798b Fix tlimit munging 2006-05-09 00:01:35 +00:00
Howard Chu
aed92f35c1 refine prev commit 2006-05-08 13:12:12 +00:00
Howard Chu
f7115e761c Fix strchrlen running past end of berval 2006-05-08 12:43:01 +00:00
Howard Chu
b41f2cad74 Fix dynacl tgrant/tdeny initialization 2006-05-08 09:06:37 +00:00
Luke Howard
87051a2a4a ITS#4525 2006-05-08 08:58:33 +00:00
Pierangelo Masarati
c2369771f8 cleanup 2006-05-06 17:22:59 +00:00
Pierangelo Masarati
373ded8d24 add URI list resorting feature (ITS#4524) 2006-05-06 16:15:25 +00:00
Pierangelo Masarati
af5b506e37 fix previous commit 2006-05-06 11:53:54 +00:00
Pierangelo Masarati
401b211d98 touch idle-timeout HAVE_TLS odds; silence warning #ifndef HAVE_TLS 2006-05-06 10:50:13 +00:00
Pierangelo Masarati
470fda7744 cleanup version parsing 2006-05-06 10:42:29 +00:00
Pierangelo Masarati
2110880be1 refine previous commit 2006-05-06 03:16:45 +00:00
Pierangelo Masarati
a9b7f3612b parallelize dobind/search (ITS#4519) 2006-05-06 02:25:53 +00:00
Pierangelo Masarati
b5eb214d79 fix "host=", broken by rev 1.446 of servers/slapd/config.c 2006-05-05 23:53:14 +00:00
Pierangelo Masarati
23c766bbfd make sure NULL pointers are not dereferenced 2006-05-04 22:07:35 +00:00
Pierangelo Masarati
9447b9fff4 gracefully handle server down while initiating a search (ITS#4518) 2006-05-04 08:37:31 +00:00
Howard Chu
a30fa88ad3 Apply logoldattr / reqOld to modRDN requests as well 2006-05-03 21:29:56 +00:00
Pierangelo Masarati
45b378c753 don't muck with freed memory (spotted by valgrind) 2006-05-03 18:54:04 +00:00
Howard Chu
2a5ecbccaa Remove some more yield() calls 2006-05-03 07:41:12 +00:00
Howard Chu
6fcc7b9b21 Hide starttls keyword if no TLS 2006-05-03 03:12:16 +00:00
Howard Chu
966c47e5b4 Detect TLS config changes 2006-05-03 02:48:23 +00:00
Howard Chu
d0b796f897 ITS#4515 add missing equality rules 2006-05-02 21:07:49 +00:00
Pierangelo Masarati
af1f87b96d ldap_pvt_runqueue_next_sched() may return a pointer to data that's freed by task run earlier (ITS#4517) 2006-05-02 20:32:37 +00:00
Howard Chu
608c85a9f0 ITS#4423, fix sessionlog lower bound in playlog 2006-05-02 05:08:59 +00:00
Howard Chu
a8f8dfe747 Use ldap_pvt_thread_pool_tid() 2006-05-02 00:58:05 +00:00
Howard Chu
c58f16d9b5 FIx rev 1.207, ACL parsing 2006-05-01 23:36:38 +00:00
Pierangelo Masarati
3b5d411af2 fix idassert "override" 2006-05-01 22:54:07 +00:00
Pierangelo Masarati
f9f8623f6e fix automated static build 2006-05-01 14:53:19 +00:00
Howard Chu
d8595b7c6e ITS#4463 add constraint overlay 2006-04-29 10:03:36 +00:00
Howard Chu
442a3f1fde searchbase is a required config parameter, log missing params. 2006-04-29 09:24:14 +00:00
Howard Chu
b1534d0ea9 Kludge to allow reading undefined attrs in DNs at startup 2006-04-29 02:15:53 +00:00
Howard Chu
1f6bb31d9d Honor ACLs, don't just require root any more 2006-04-29 01:26:07 +00:00
Howard Chu
f5558876c0 Log a comment with realdn if different from authzDN 2006-04-28 23:37:35 +00:00
Howard Chu
d38dd74818 Fix adding ACLs to specific DBs vs global/frontend 2006-04-28 23:01:59 +00:00
Howard Chu
e1ec64aaee rmutex_lock etc.: caller supplies thread id 2006-04-28 21:39:38 +00:00
Howard Chu
15ba27d5c1 Add logoldattr keyword for attributes that should always have their old
value logged in a Modify request (that matches the logold filter)
2006-04-28 20:40:43 +00:00
Howard Chu
9207979a86 Use recursive mutex to avoid deadlocks 2006-04-28 20:13:34 +00:00
Luke Howard
51a65afb86 SLAPI_PLUGIN_{PRE,POST}_RESULT_FN should also be called for
REP_SASL and REP_EXTENDED in addition to REP_RESULT -- the
distinction is not present in FDS
2006-04-28 08:39:29 +00:00
Howard Chu
716df7c62c ITS#4512 fix bogus Debug messages in rev 1.48 2006-04-28 06:22:48 +00:00
Howard Chu
eda2b46dd2 Revert 1.96, restore 1.91 functionality 2006-04-28 06:07:05 +00:00
Howard Chu
590bc6a7fa More logging for ITS#4423 2006-04-28 03:06:47 +00:00
Howard Chu
3879cac787 Fix slapadd of config tree, broken by ITS#4194 2006-04-27 23:52:53 +00:00
Howard Chu
f3ee4f5d30 Fix rev 1.52, frontendDB uses index {-1}. 2006-04-27 23:21:39 +00:00