Commit Graph

2299 Commits

Author SHA1 Message Date
Pierangelo Masarati
1ce491e4f4 fix library checks; implement client side of "touch" modify (ITS#4183) 2005-11-20 14:17:37 +00:00
Pierangelo Masarati
af23be3675 silence warnings... 2005-11-14 21:47:17 +00:00
Hallvard Furuseth
6a778f99f5 Fix lutil_memrchr():
Avoid void* pointer arithmetic.
Convert int c to unsigned char, so c=<negative char value> will match.
Do not decrement pointer below start of array (even when value is not used).
2005-11-14 15:40:01 +00:00
Pierangelo Masarati
474dfbc8fd don't trust strchr/strrchr with bervals 2005-11-13 22:26:53 +00:00
Pierangelo Masarati
4a6f4369c0 don't malloc empty strings for matched, error 2005-11-12 18:42:03 +00:00
Howard Chu
10c94f4e58 Cleanup lbo_valid / meminuse / memfuncs 2005-11-12 18:26:17 +00:00
Howard Chu
146b2c5389 ITS#4082 tls ctx requirements are only applicable to servers, or clients
with tls_opt_require_cert = TRY or DEMAND. Ignore requirements for clients.
2005-11-08 13:42:10 +00:00
Pierangelo Masarati
5be72fe816 don't allow '{' in TK_BAREWORD (ITS#4116) 2005-11-07 22:53:43 +00:00
Pierangelo Masarati
a6453f28f8 silence warnings 2005-11-06 23:27:09 +00:00
Kurt Zeilenga
4f63434511 Improve SASL error handling 2005-11-06 22:43:23 +00:00
Pierangelo Masarati
e1a7fa2ee9 fix ldap_bv2escaped_filter_value 2005-11-06 11:41:42 +00:00
Howard Chu
d67a2f2044 Move lconn_tls_ctx to ldo_tls_ctx. Otherwise clients cannot set it after
ldap_initializ'ing an LD and before connecting on it. Really all of the
global TLS options belong in the ldapoptions struct, instead of static vars.
2005-11-05 12:49:43 +00:00
Pierangelo Masarati
f571f4b2b4 fix previous commit 2005-11-03 20:11:22 +00:00
Pierangelo Masarati
561cd3d845 don't leak hostname 2005-11-03 15:17:48 +00:00
Pierangelo Masarati
3aca011938 fix previous commit 2005-11-03 11:42:44 +00:00
Pierangelo Masarati
fde95747cb plug leaks 2005-11-03 10:56:49 +00:00
Pierangelo Masarati
4e5eb991eb plug (one time?) leaks 2005-11-03 10:52:58 +00:00
Kurt Zeilenga
ecd86725f2 Update result code to IANA-assigned values
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
6fcfaedf90 ITS#4137 was returning with tls_def_ctx_mutex locked. 2005-11-02 23:43:19 +00:00
Kurt Zeilenga
461ed37970 cleanup 2005-11-01 20:33:49 +00:00
Pierangelo Masarati
9c056f95fe consistently use HSTRERROR (ITS#4124) 2005-10-31 15:04:37 +00:00
Howard Chu
f80e9d11fa Fix prev commit, spawns unnecessary threads. 2005-10-28 10:31:21 +00:00
Howard Chu
4ebed09d81 ITS#4017, additional revisions for DH parameters 2005-10-28 05:35:19 +00:00
Howard Chu
71514ffb92 Fix pool_submit, create threads as long as we're under the max count. 2005-10-27 21:55:18 +00:00
Kurt Zeilenga
551d94c6e8 Additional serverSaslCred trace messages.
Misc. cleanup
2005-10-20 03:49:22 +00:00
Howard Chu
5e416949e0 Fix ldapi DN ordering 2005-10-17 12:57:53 +00:00
Pierangelo Masarati
d277c5b3d6 silence SLAP_SEM_LOAD_CONTROL related warnings... 2005-10-16 08:58:06 +00:00
Kurt Zeilenga
533394d641 disable SLAP_SEM_LOAD_CONTROL by default, needs additional review/work
Misc. other cleanup
2005-10-16 00:17:58 +00:00
Kurt Zeilenga
279033fc1c ITS#3440: (blind) fix for VxWorks inet_ntoa(3) leak,
use inet_ntoa_b(3) instead.
2005-10-14 03:40:03 +00:00
Kurt Zeilenga
408fa06f95 missed \ 2005-10-13 06:53:32 +00:00
Kurt Zeilenga
a534d5fb6b Add ldap_bv2escaped_filter_value (ITS#2535) 2005-10-13 06:35:28 +00:00
Kurt Zeilenga
6db7e605ee Align Operation buffers using LBER_ALIGNED_BUFFER 2005-10-12 23:17:28 +00:00
Kurt Zeilenga
0ea43c9d7d Assume TLS is properly configured if any one of
keyfile, certfile, cacertfile, or cacertdir is
provided.  Note that TLS can be properly configured
without any of these when non-X.509 cipher suites
are used, so this might have be rethought.
2005-10-12 20:31:04 +00:00
Howard Chu
bb3c3f654f Fix typo 2005-10-12 00:31:05 +00:00
Howard Chu
f18c63fa13 Add LDAP* to debug messages to aid tracking 2005-10-12 00:23:30 +00:00
Howard Chu
e8b1b004d4 Fix ITS#3832 must mutex protect ld->ld_conns 2005-10-12 00:05:43 +00:00
Howard Chu
f54bc26357 ITS#4072 ldap_pvt_tls_init_def_ctx() returns LDAP_NO_SUPPORT if not
sufficiently configured. Update slapd/slurpd to act appropriately.
2005-10-09 19:55:39 +00:00
Howard Chu
2ea5a66be2 ITS#2942 skip referrals that we've already chased 2005-10-09 10:01:38 +00:00
Howard Chu
a8a23840b8 Simplify lm_chain_tail handling, support LDAP_MSG_RECEIVED
Drop support for LDAP_MORE_RESULTS_TO_RETURN
2005-10-08 18:51:14 +00:00
Howard Chu
fc79957ad6 Don't set ndelay on socket connect if no timeout was specified 2005-10-08 18:19:50 +00:00
Howard Chu
9095af5928 ITS#4017 support Diffie-Hellman parameters for multiple key lengths 2005-10-05 20:01:52 +00:00
Howard Chu
c82ae524b9 Make time counter zero based 2005-10-05 15:45:22 +00:00
Pierangelo Masarati
385aebc806 plug potential ld_error leak (ITS#4064) 2005-10-04 21:30:30 +00:00
Howard Chu
a0f6fdb730 ITS#4048 plug leak 2005-09-30 06:20:56 +00:00
Howard Chu
d918bd4dc0 ITS#4053 free cldap peer address 2005-09-30 06:04:38 +00:00
Kurt Zeilenga
9449c5709e ITS#4021: add new {CLEARTEXT} kludge as bv_len=0 kludge no
longer works well.
2005-09-29 20:30:09 +00:00
Howard Chu
0f9ad702c3 ITS#4046 fix recvfrom len 2005-09-28 08:36:24 +00:00
Howard Chu
8c3e9ddb1c avl_delete... 2005-09-26 08:57:19 +00:00
Howard Chu
4c89b0e80c Tweak branches in avl_find 2005-09-26 08:21:10 +00:00
Howard Chu
dee98ccd47 Replace avl_insert/delete with iterative version 2005-09-26 08:15:55 +00:00