Commit Graph

15454 Commits

Author SHA1 Message Date
Pierangelo Masarati
150a4f106c improve timeout support (ITS#4157, ITS#4663); manpage cleanup 2006-09-04 08:24:05 +00:00
Pierangelo Masarati
35f8b9c9f5 release authz resources at shutdown 2006-09-04 07:20:59 +00:00
Pierangelo Masarati
0d2e2772d5 move req2op selection into a helper 2006-09-04 07:17:34 +00:00
Pierangelo Masarati
8129f7e2f2 fix arg format; better trace logging... 2006-09-03 11:14:37 +00:00
Pierangelo Masarati
906ff0d51a don't abandon binds in progress; rather unbind (ITS#4663).
Better logging for tracing
2006-09-03 11:04:27 +00:00
Pierangelo Masarati
00c2498543 back-ldap should only touch the connection timestamp when activity actually occurred (i.e. ldap_result() returned a positive value), otherwise if "the network cable is removed after the connection is established" ldap_result() keeps returning 0 forever... 2006-09-03 11:02:15 +00:00
Pierangelo Masarati
3a83c813df use preallocated entries? (otherwise bdb_add and others leak...) 2006-09-03 10:58:13 +00:00
Pierangelo Masarati
d95b88da21 plug slapo-ppolicy related leaks (ITS#4665) 2006-09-03 10:53:38 +00:00
Pierangelo Masarati
7c64c28ad5 plug leaks in search filter (and cleanup code; ITS#4664) 2006-09-03 10:45:07 +00:00
Pierangelo Masarati
06b491a446 better function name 2006-09-01 16:21:20 +00:00
Pierangelo Masarati
b45c0c881d keep count of requests in use 2006-09-01 14:00:58 +00:00
Pierangelo Masarati
517ae66152 don't risk dangling pointers 2006-09-01 13:59:55 +00:00
Pierangelo Masarati
d1e00eef03 don't use deprecated functions 2006-09-01 13:57:37 +00:00
Pierangelo Masarati
faa13725e6 remove unnecessary assertion; add test for pending ops 2006-09-01 10:41:54 +00:00
Pierangelo Masarati
cb3248f173 cleanup 2006-09-01 10:01:36 +00:00
Pierangelo Masarati
9e8725a3cc add an assertion to track ITS#4659; minor cleanup 2006-09-01 10:00:50 +00:00
Pierangelo Masarati
f797bc49a7 minor cleanup 2006-08-31 17:34:01 +00:00
Pierangelo Masarati
8a71ac3740 don't leak identity 2006-08-31 16:21:54 +00:00
Pierangelo Masarati
417ad40596 destroy socket set (man page for epoll_create(2) states that close(2) must be called on the returned filedes) 2006-08-31 13:51:25 +00:00
Pierangelo Masarati
449bd2af7f fix typo 2006-08-31 13:35:01 +00:00
Pierangelo Masarati
420ed24c79 pick declaration of ch_strdup() 2006-08-30 22:45:26 +00:00
Pierangelo Masarati
afdae4272a don't run useless (and likely to fail) checks, if possible 2006-08-30 21:05:05 +00:00
Pierangelo Masarati
e172835b55 fix pre-allocated entry/attribute handling 2006-08-29 17:09:08 +00:00
Pierangelo Masarati
c57782ad66 fix pre-allocated entry/attribute handling 2006-08-29 16:07:39 +00:00
Kurt Zeilenga
922629fd2e forced commit 2006-08-29 07:38:09 +00:00
Kurt Zeilenga
7c5baf493a more cleanup 2006-08-29 07:28:22 +00:00
Kurt Zeilenga
50e4b02ce3 cleanup 2006-08-29 07:25:34 +00:00
Kurt Zeilenga
3fa4e03a21 minor change 2006-08-29 07:22:28 +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
92ff6afec0 note the single-value userPassword constraint (please review) 2006-08-28 14:33:59 +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
b7873dbb94 Note line length limit. 2006-08-25 20:56:06 +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
Pierangelo Masarati
9bc2cd3987 allow continuous mode 2006-08-25 16:20:48 +00:00
Pierangelo Masarati
c838ce513d initialize random seed; use high-order bits for better randomness 2006-08-25 15:15:13 +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
e2f4ca480d ITS#4647: error on bad filter patterns 2006-08-24 03:15:57 +00:00
Kurt Zeilenga
d3e288dffe s/managedit/relax/
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00