Commit Graph

8562 Commits

Author SHA1 Message Date
Kurt Zeilenga
7c5baf493a more cleanup 2006-08-29 07:28:22 +00:00
Howard Chu
c9562fa8fb Hide config schema if !LDAP_DEVEL 2006-08-29 02:02:12 +00:00
Howard Chu
78172aa0cf Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Howard Chu
8ae4cbe643 Must use ch_strdup, not strdup 2006-08-29 01:36:52 +00:00
Howard Chu
f4da18e7e4 TLS ctx is already cleaned up 2006-08-29 01:34:55 +00:00
Howard Chu
cf47d33459 Only set c_sasl_bindop on actual SASL binds 2006-08-29 01:19:34 +00:00
Pierangelo Masarati
7cffbbad26 append global access rules also when be != NULL in backend_startup() (ITS#4654) 2006-08-28 13:31:16 +00:00
Pierangelo Masarati
5d3121902f Add single-password constraint; NOTE from ppolicy.c:
/* FIXME: there's no easy way to ensure
 * that add does not cause multiple
 * userPassword values; one way (that
 * would be consistent with the single
 * password constraint) would be to turn
 * add into replace); another would be
 * to disallow add.
 *
 * Let's check at least that a single value
 * is being added
 */
2006-08-28 12:44:39 +00:00
Quanah Gibson-Mount
761b0a239d ITS#4358, thanks to Kevine Zerbib 2006-08-28 01:07:25 +00:00
Quanah Gibson-Mount
80073aefa3 Fix comment style. 2006-08-28 01:05:32 +00:00
Quanah Gibson-Mount
3ee11b1c2a Fix delete type modifys where no value is given to be deleted. (ITS#2612)
Thanks to Alister Winfield for the patch.
2006-08-28 01:01:32 +00:00
Quanah Gibson-Mount
88ce76f24e fix e_private value, goes along with memory leak fix to accesslog.c 2006-08-26 23:20:00 +00:00
Pierangelo Masarati
b898d35647 reduce code duplication 2006-08-26 17:55:56 +00:00
Pierangelo Masarati
9da24acb53 disable X-ORDERED 'VALUES' naming attributes by now 2006-08-26 17:28:07 +00:00
Pierangelo Masarati
828d55be4d invalidate idle connection if a candidate target does not respond for the duration of time limit... 2006-08-26 15:24:49 +00:00
Kurt Zeilenga
d35d3b2026 Use LINE_MAX instead of BUFSIZ. Per POSIX, LINE_MAX should be at least 2K.
For ITS#4651
2006-08-25 20:05:14 +00:00
Howard Chu
ca262ee8e6 Fix test045, test048 use acl-bind credentials on retry if they were set. 2006-08-25 02:16:57 +00:00
Kurt Zeilenga
d3e288dffe s/managedit/relax/
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Kurt Zeilenga
3d667a4705 remove dontusecopy ifdefs 2006-08-22 20:57:33 +00:00
Kurt Zeilenga
49708e1bd5 Basic donUseCopy implementation 2006-08-22 20:29:14 +00:00
Kurt Zeilenga
a1eb25c595 Initial dontUseCopy implementation
Needs to be extended to compare
2006-08-22 20:24:36 +00:00
Kurt Zeilenga
97fa3f1efd More LDAP_DEVEL cleanup
Rename ManageDIT to Relax
2006-08-22 00:45:16 +00:00
Howard Chu
ae5c3db555 More config leaks 2006-08-21 04:25:54 +00:00
Howard Chu
282c00c349 Plug config leak 2006-08-21 04:11:29 +00:00
Howard Chu
d7be822a2a Fix prev commit 2006-08-19 06:27:11 +00:00
Kurt Zeilenga
9695d292ef LDAP_DEVEL cleanup 2006-08-19 05:47:05 +00:00
Howard Chu
69fa2d9f93 Move ber_sockbuf_free() to slapd_remove() to avoid using AC_SOCKET_INVALID 2006-08-18 23:54:24 +00:00
Pierangelo Masarati
e4d24ecce8 don't leave dangling conns in the AVL tree 2006-08-18 17:11:41 +00:00
Pierangelo Masarati
5b317f5b85 the conn may not be bound yet even if the bound DN is set... 2006-08-18 15:22:26 +00:00
Pierangelo Masarati
f5c308bdb6 more thread monitoring reworking; connection_pool_max may change via back-config 2006-08-18 10:26:03 +00:00
Pierangelo Masarati
2947c098ce oi_list might be null if overlay initialization failed for any reason 2006-08-18 10:12:21 +00:00
Kurt Zeilenga
3e89a4ff82 LDAP_DEVEL cleanup 2006-08-18 06:29:46 +00:00
Howard Chu
ad1f0a3239 Fix null pointer reference (coverity scan) and freed pointer reference 2006-08-18 01:37:21 +00:00
Howard Chu
2e3e7ed14f Fix prev commit 2006-08-18 01:17:44 +00:00
Pierangelo Masarati
9c52a2c4ff give slapd a chance to play callback cleanup handlers when a search operation is abandoned (ITS#4645) 2006-08-17 19:47:25 +00:00
Kurt Zeilenga
73ec336a89 Add note about setting effectiveness. 2006-08-17 19:33:48 +00:00
Pierangelo Masarati
ea3ffdd135 don't core if out value is NULL (log error instead; in partial fulfilment of ITS#4644) 2006-08-17 17:37:46 +00:00
Pierangelo Masarati
a05a8972b2 fix previous commit 2006-08-17 16:32:11 +00:00
Pierangelo Masarati
9327af55ca add tasklist monitoring; review runqueue monitoring 2006-08-17 16:10:47 +00:00
Pierangelo Masarati
c458df6441 add bverb_to_mask() API 2006-08-17 16:10:17 +00:00
Howard Chu
098153c5bb Move socket close into slapd_remove, don't close until after socket
is removed from daemon control.
2006-08-17 00:44:38 +00:00
Howard Chu
ccd1273cfe TS#4622 deletes in psearch didn't always propagate 2006-08-15 21:41:14 +00:00
Kurt Zeilenga
d9720d50dd Some LDAP_DEVEL cleanup 2006-08-15 19:36:54 +00:00
Howard Chu
44d3972dd7 ITS#4622 if any present list was sent, must send refreshPresent 2006-08-15 12:37:59 +00:00
Howard Chu
55aa8af4be ITS#4622 make sure queued psearch responses get played after refresh
phase completes. Ignore empty sessionlog
2006-08-15 09:28:25 +00:00
Howard Chu
789c76b4ce Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn 2006-08-15 09:25:42 +00:00
Howard Chu
7036e2bb89 Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn 2006-08-15 08:51:49 +00:00
Howard Chu
4629002ec4 Additional shutdown check 2006-08-15 00:04:29 +00:00
Howard Chu
651bc9e40e Don't purge log entries if a shutdown was requested 2006-08-15 00:02:57 +00:00
Kurt Zeilenga
4ba9bc1c2d Use LDAP_OTHER to indicate internal error 2006-08-12 21:46:29 +00:00