Kurt Zeilenga
a534d5fb6b
Add ldap_bv2escaped_filter_value (ITS#2535)
2005-10-13 06:35: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
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
Pierangelo Masarati
9129a2f7ee
silence warnings
2005-09-10 18:59:35 +00:00
Hallvard Furuseth
2e19c67235
Handle LDAP_INT_GLOBAL_OPT() failure in ldap_int_destroy_global_options()
2005-08-31 18:59:27 +00:00
Kurt Zeilenga
f07015dad2
Update build tools based upon OPENLDAP_AC work
2005-08-25 20:09:26 +00:00
Pierangelo Masarati
21e33fed33
treat TRUE/FLASE like SUCCESS; don't chase "" referrals
2005-08-22 09:41:36 +00:00
Pierangelo Masarati
f5737d72b0
cosmetic changes (easier to inspect under gdb)
2005-08-20 19:54:56 +00:00
Pierangelo Masarati
3dd05cdb2d
fix SASL numeric secprops parsing (ITS#3955)
2005-08-20 14:22:42 +00:00
Pierangelo Masarati
52ce57f525
don't try to print NULLs on Solaris...
2005-08-19 15:47:52 +00:00
Pierangelo Masarati
7732236996
plug yet another one-time leak
2005-08-19 15:05:03 +00:00
Pierangelo Masarati
a0e46c6289
allow oidmacros in syntax (e.g. AD)
2005-08-18 23:34:10 +00:00
Pierangelo Masarati
a324dc8050
clear code before calling functions that may modify it
2005-08-18 18:48:02 +00:00
Pierangelo Masarati
e441f32374
little bit easier to track from inside gdb...
2005-08-18 13:38:59 +00:00
Pierangelo Masarati
4f5502ef9f
rework internal functions - need the parsed list of URIs before massaging; no impact on exposed funcs
2005-08-17 07:50:28 +00:00
Kurt Zeilenga
f799a2e4ba
replace struct msghdr macros
2005-08-13 02:17:12 +00:00
Pierangelo Masarati
3638b6c722
solve a deadlock during unbind: ldap_send_unbind() is called by ldap_free_connection() only, and just in case the last arg is not 0; but most of the times ldap_free_connection() is called with ld_req_mutex locked, so it shouldn't be locked again from inside ldap_send_unbind()
2005-08-11 17:11:41 +00:00
Pierangelo Masarati
b3f366e0ba
essentially address 3791 with a reworked patch
2005-08-11 15:13:29 +00:00
Pierangelo Masarati
ad62d9da1b
expose ldap_tls_inplace()
2005-08-11 12:14:24 +00:00
Pierangelo Masarati
228af40058
cleanup
2005-08-11 12:13:43 +00:00
Hallvard Furuseth
d50820cdd6
Read LDAPResult.resultCode & ModifyRequest.modification.operation
...
and send SortResult.sortResult as BER ENUMERATED, not BER INTEGER.
libldap: ldap_parse_extended_result, try_read1msg, build_result_ber,
ldap_parse_sasl_bind_result. slapd: do_modify, send_ldap_controls.
2005-08-10 00:54:38 +00:00
Pierangelo Masarati
a3a9bb9bfa
little more about potential concurrency issues
2005-08-03 16:54:08 +00:00
Howard Chu
834f1bd253
ITS#3578 increment parent's referral count
2005-08-02 11:24:52 +00:00
Hallvard Furuseth
b295d66a2c
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-08-02 10:57:42 +00:00
Pierangelo Masarati
01dc0183a3
plug leaks; cleanup
2005-08-01 23:35:44 +00:00
Hallvard Furuseth
f9e505727e
Plug memory leaks - free() controls in LDAP*
2005-08-01 03:51:53 +00:00
Hallvard Furuseth
d49a477702
Cleanup
2005-07-31 18:05:51 +00:00
Pierangelo Masarati
5ff31144a7
cleanup
2005-07-30 16:26:25 +00:00
Hallvard Furuseth
fbce398466
Also declare copy_hostent() if LDAP_R_COMPILE && HAVE_GETHOSTBYADDR_R.
...
Only declare safe_realloc() if LDAP_R_COMPILE.
Indentation cleanup.
2005-07-26 04:21:19 +00:00
Pierangelo Masarati
7fade0d585
(yet) another potential concurrency issue
2005-07-23 22:04:04 +00:00
Hallvard Furuseth
f0091b101f
Cast LDAP_BOOL value to LDAP_BOOLEANS; it could only use flags fitting in int.
2005-07-22 13:24:47 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Hallvard Furuseth
f43a823c73
Add missing "static" for functions declared static but defined non-static
2005-07-18 05:14:41 +00:00
Hallvard Furuseth
bf1d1a84bd
Remove unused type: struct token
2005-07-17 11:53:35 +00:00
Pierangelo Masarati
19c1c6d671
some (stupid) editors complain because 'new' is a reserved word in C++
2005-07-16 15:38:33 +00:00
Pierangelo Masarati
5e84975adf
paranoid check
2005-07-16 15:37:01 +00:00
Pierangelo Masarati
e790055467
be liberal: accept empty oid lists
2005-07-15 00:46:30 +00:00
Hallvard Furuseth
d449c9d08b
Silence "unused variable" warnings
2005-07-14 19:18:55 +00:00
Hallvard Furuseth
3d8aceab81
Fix typos GETNAMEINFO->HAVE_GETNAMEINFO, HAVE_HERROR->HAVE_HSTRERROR
2005-07-14 19:17:05 +00:00
Howard Chu
6754d025f2
ITS#3847 silence warnings
2005-07-11 10:39:32 +00:00