Kurt Zeilenga
e83b55ebde
intermediate response fix
2003-05-31 05:48:16 +00:00
Kurt Zeilenga
12304f64e5
Merge partial and intermediate responses
2003-05-31 05:01:49 +00:00
Howard Chu
215be5f443
Fix previous commit
2003-02-28 13:41:53 +00:00
Howard Chu
387a76934b
Fix ITS#2335, properly parse multiple CLDAP responses in a single datagram
...
for both RFC1798 and MS CLDAP.
2003-02-28 12:57:28 +00:00
Howard Chu
747265419d
Change "goto leave" to "goto exit" to avoid DEC namespace pollution
2003-02-22 01:49:55 +00:00
Howard Chu
8dac33b6c3
Fix previous commit
2003-02-14 10:27:39 +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
4b3396f5fd
unifdef -DLDAP_NOCACHE
2003-02-09 07:42:18 +00:00
Kurt Zeilenga
48d47954a6
Rework #ifdef'ing of expermental controls to ease release engineering
...
using LDAP_DEVEL (to indicate experimental) to enable experimental features
(true for HEAD unless LDAP_REL_ENG is defined)
2003-02-08 21:53:05 +00:00
Jong Hyuk Choi
e1bf8cc437
Intermediate Response
2003-02-03 17:28:19 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Howard Chu
6b53b4c507
Plug memleak in previous commit
2002-10-24 23:51:34 +00:00
Howard Chu
4396ad3316
ITS#2153, make sure sockbuf buffer is empty before returning (-2) from
...
try_read1msg. Blind fix, problem was not duplicated/tested.
2002-10-24 11:39:06 +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
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
Kurt Zeilenga
99f5983fb6
Consistently don't check for NULL session handle and other pointers.
...
Application is responsible for providing valid session pointers.
2002-06-05 15:46:26 +00:00
Howard Chu
b732d3ec55
Fix previous commit, only zero out v3 refer_cnt if we got a SEARCH_RESULT.
...
If we got a SEARCH_REFERENCE, we need to keep going...
2002-05-02 12:08:19 +00:00
Howard Chu
dc3e5fb99d
ITS#818, ITS#980, ITS#1234 ldapsearch/referral hang - set refer_cnt to 0
...
after v3refs have been chased. They are fully processed by the time we get
back, so we should just return the current result message to the caller.
2002-04-16 12:53:13 +00:00
Howard Chu
bb17493d31
ITS#1732 signed/unsigned fixes
2002-04-11 08:47:37 +00:00
Julius Enarusai
70c73da22c
Added LDAP_LOG messages
2002-04-01 22:08:32 +00:00
Howard Chu
25cd89b443
Use ber_scanf 'm' format for ignored UDP string
2002-01-17 23:30:05 +00:00
Kurt Zeilenga
0c36372134
Some memory allocation cleanup.
2002-01-06 02:18:37 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Kurt Zeilenga
883196d348
Clean up some symbol scoping
2001-12-24 06:36:44 +00:00
Howard Chu
693a81e1db
More CLDAP tweaks, to differentiate between real LDAPv2 CLDAP and "other"
...
LDAP/UDP messages. Slapd marks received CLDAP messages as LDAP_VERSION2.
The client library can generate CLDAP queries if -Protocol 2 is chosen,
otherwise not. LDAPv2 CLDAP cannot query the slapd rootDSE, gets no reply.
2001-10-02 01:02:23 +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
978e417699
Make some additional UTF8 public
...
Remove lint
2001-07-21 23:13:04 +00:00
Kurt Zeilenga
bd4c6b84ea
Bug in chkResponseList loop (ITS#1047) from David @ Novell
2001-03-15 03:11:52 +00:00
Kurt Zeilenga
a0828d6135
Rework scope defaulting to only default scope for references.
...
Might break LDAPv2 partial results
2001-01-10 23:48:24 +00:00
Kurt Zeilenga
d491ac55de
Update handling of partial responses
...
Update comments
Update log messages
rename symbols per conventions
2000-10-18 00:26:53 +00:00
Kurt Zeilenga
f8e5ed25e9
Revised ITS#799 fix from Steve Sonntag <vtag@novell.com>
...
The problem is that the current code checks the queue inside
the test for correct connecction state, so sometimes the queue
doesn't get checked. This change moves the test outside
the connection check.
2000-10-11 21:11:34 +00:00
Kurt Zeilenga
8e6062eb82
References with empty dn (ITS#817)
2000-10-11 04:23:23 +00:00
Kurt Zeilenga
6712936ef8
ITS#799: chasing multiple referrals bug
...
Patch provided by Steve Sonntag <vtag@novell.com>
2000-10-05 01:40:36 +00:00
Kurt Zeilenga
005a2f7aec
Don't assert on null
2000-10-03 18:51:30 +00:00
Kurt Zeilenga
25a9f7427d
Remove CLDAP cruft
2000-08-18 04:25:00 +00:00
Kurt Zeilenga
20e6dcec3b
Improved but still broken client tools.
2000-07-04 21:49:00 +00:00
Kurt Zeilenga
49f4147385
Added -llber 'N' ber_printf format which inserts a NULL if
...
an internal flag set. Used for SEQUENCE testing. Flag must
be set using debugger. Modified ber_printf to use new format
were needed for extensibility testing.
Added first cut -lldap support for extended responses.
Modified ldapsearch(1) to handle v3 search references when not
chasing. Also added extended/unsolicited notification handling
and extended partial response handling. Changes include a
number of LDIF enhancements.
Fixed getpassphrase() returns NULL bugs
2000-06-24 01:40:39 +00:00
Kurt Zeilenga
ae61f3dcaf
Memory leak in referral code (ITS#596)
...
Apply patch from Steve Sonntag <vtag@novell.com>
2000-06-16 20:00:21 +00:00
Kurt Zeilenga
2e0912622b
ITS#537: lber io rewrite from Gambor Gombas.
...
Copyright 2000 Gábor Gombás. All rights reserved.
This is free software. You may redistribute and use it under the same
terms as OpenLDAP itself.
2000-06-01 20:59:21 +00:00
Kurt Zeilenga
81d2747247
A couple of minor fixes to LDAPv3 referral chasing
2000-05-31 17:47:33 +00:00
Kurt Zeilenga
a26cef7fc8
LDAPv3 referrals changes by Steve Sonntag @ Novell
2000-05-31 17:34:43 +00:00
Kurt Zeilenga
63de8a6ea5
s/0/LDAP_MSG_ONE/ per Steve's patch (ITS#542)
2000-05-26 01:11:18 +00:00
Kurt Zeilenga
29d9fa20a2
Y2k copyright update
2000-05-13 02:36:07 +00:00
Howard Chu
568e25a7a9
ldap_result was losing messages when multiple msgids were queued,
...
and results were being returned one-at-a-time. Ugh, this cost me two
days, loss of hair, sleep, etc.....!
1999-11-30 13:32:06 +00:00
Mark Valence
e20d6dfb8b
bug fixes for ldap_msgtype and ldap_msgid
1999-10-30 18:33:37 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Hallvard Furuseth
c09a2c63e7
Cleanup:
...
Fix printf formats, remove unused variables, add missing prototypes in slapd,
add static/const, add some return types or change to void return type.
1999-09-02 08:05:17 +00:00