Pierangelo Masarati
af23be3675
silence warnings...
2005-11-14 21:47:17 +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
2ea5a66be2
ITS#2942 skip referrals that we've already chased
2005-10-09 10:01:38 +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
228af40058
cleanup
2005-08-11 12:13:43 +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
Pierangelo Masarati
5ff31144a7
cleanup
2005-07-30 16:26:25 +00:00
Pierangelo Masarati
7fade0d585
(yet) another potential concurrency issue
2005-07-23 22:04:04 +00:00
Pierangelo Masarati
5e84975adf
paranoid check
2005-07-16 15:37:01 +00:00
Pierangelo Masarati
eb005a9872
allow to muck with referrals while chasing...
2005-05-28 14:29:08 +00:00
Kurt Zeilenga
8b730300a2
Enable subordinate scope feature
2005-01-26 03:30:22 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
1ccb936170
fix typo in last commit
2004-08-28 04:01:19 +00:00
Kurt Zeilenga
c9dd33b520
Add scheme check to find_connection
2004-08-28 03:55:02 +00:00
Kurt Zeilenga
8064bb6ef1
A better find_connection() port fix
2004-08-28 03:53:31 +00:00
Kurt Zeilenga
1d3eccca9e
Partial ITS#3280 fix. ldap:// referrals only.
2004-08-28 03:25:59 +00:00
Kurt Zeilenga
f0bd9b3a5b
Mark areas needed poll(2) support with HAVE_POLL.
2004-07-09 17:50:22 +00:00
Howard Chu
efdeee929d
Revert previous commit, didn't solve anything. Probably made things worse.
2004-04-08 12:40:49 +00:00
Howard Chu
690f0111e9
ITS#2894 - search refs that are the immediate result of another search
...
ref are associated with the parent req instead of the original req, to
prevent infinite loops.
2004-01-25 10:30:10 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
afb520a6e9
LDAP_SCOPE SUBORDINATE implementation
2003-12-30 01:34:05 +00:00
Kurt Zeilenga
271fff13de
Sync with HEAD
2003-12-17 17:55:27 +00:00
Kurt Zeilenga
159de0f135
Updated notices and acknowledgements
2003-11-26 07:16:36 +00:00
Howard Chu
0b96b6b6ad
Chasing a referral needs both the request and response mutexes.
...
Unlock and relock... (yuck)
2003-03-06 14:53:01 +00:00
Howard Chu
844cc97928
More for re-entrant LDAP* handles. Works much better.
2003-02-13 23:02:31 +00:00
Howard Chu
a6b3a92cc5
Added ld_req_mutex and ld_res_mutex to protect ld_requests and ld_responses
...
queues for multithreaded access to LDAP*'s. Also used to protect writes and
reads of ld_sb, respectively. Appears to work...
2003-02-13 10:43:16 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Howard Chu
e721e6bec9
Fix ITS#2187, recursively free all requests
2002-11-27 03:57:36 +00:00
Kurt Zeilenga
75e1620ee4
Add copy of OPL 2.0.1 and note in files which specifically refer
...
to 2.0.1 as to the location to the copy.
2002-10-15 23:22:20 +00:00
Howard Chu
d11b134709
Fix large SASL reads. Use EAGAIN instead of EWOULDBLOCK (was right the
...
first time after all. see read(2) and write(2)...)
2002-08-30 10:11:54 +00:00
Howard Chu
1dd1c375bb
Fix previous commit - use EWOULDBLOCK instead of EAGAIN
2002-08-29 13:38:36 +00:00
Howard Chu
456e6c73ab
Fix ITS#1983, handle writing of large requests. Only one pending request is
...
allowed per LDAP* handle. It works, but needs review.
2002-08-29 12:12:36 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00
Howard Chu
bb17493d31
ITS#1732 signed/unsigned fixes
2002-04-11 08:47:37 +00:00
Pierangelo Masarati
8de44663f7
ITS#1730 and completion of ITS#1701
2002-04-08 10:34:04 +00:00
Kurt Zeilenga
26b99bc35d
ITS#1701. Fix ber_scanf() return tag handling.
...
Based upon patch submitted by Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>.
2002-04-02 18:40:04 +00:00
Julius Enarusai
b7bd4368d9
Added LDAP_LOG messages
2002-03-29 17:46:28 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Kurt Zeilenga
abd9be4def
Remove lint and misc MSVC updates
2001-12-09 02:34:45 +00:00
Howard Chu
647b5f84ee
Resurrection/rewrite of CLDAP (RFC1798 Connectionless LDAP).
...
Compile with -DLDAP_CONNECTIONLESS to use this code.
For slapd, use "-h cldap://" to listen on UDP.
For ldapsearch, use "-H cldap://" to query on UDP.
Client-side support is very minimal:
no automatic timeout/retries
no basedn wildcard expansion on results
no support for specifying multiple servers at once.
2001-09-28 00:18:40 +00:00
Kurt Zeilenga
790a18cb86
chasing multi-level referrals core dumps (ITS#1346) bug fix
...
from Zachary Amsden <zach@mirapoint.com>.
2001-09-24 18:50:44 +00:00
Kurt Zeilenga
c4f5497ac6
move TLS ctx to lconn struct in prep for supporting TLS with referrals
...
need to rework cert check to use per lconn host name
2001-06-25 07:33:42 +00:00
Kurt Zeilenga
55755fea2a
Rebind cleanup
2001-06-15 04:49:38 +00:00
Kurt Zeilenga
5f25c10980
new rebind proc
...
new SASL locking
2001-06-15 00:14:56 +00:00
Kurt Zeilenga
b08f7e8bce
Fix typo
2001-01-22 07:42:13 +00:00