Kurt Zeilenga
3d57f2ae67
Rework control create/dup routines to distinguish not
...
present value from empty value.
2000-10-14 02:13:53 +00:00
Kurt Zeilenga
93d9fde132
Label sb debugging as "ldap_"...
2000-10-13 01:00:55 +00:00
Kurt Zeilenga
2a6f092422
Add sasl i/o debugging
2000-10-12 23:50:58 +00:00
Gary Williams
3e0cc38404
remove LDAP_Debug macro
2000-10-12 21:16:18 +00:00
Kurt Zeilenga
5a32ff0603
Add missing 'static'... (ITS#823,825,828)
...
as reported by Jeff Earickson <jaearick@colby.edu>
other suggestions to be separately reviewed
2000-10-11 23:42: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
b7b9148c7f
Return more appropriate result codes than LDAP_UNAVAILABLE
...
upon failures.
2000-10-09 22:11:34 +00:00
Kurt Zeilenga
2cdbfd069b
Add missing newlines
2000-10-05 18:30:06 +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
778b665242
Fix up some free'ing.
2000-10-02 17:43:39 +00:00
Kurt Zeilenga
003a293e2b
Don't specify LDFLAGS when using LTLINK to avoid duplicate
...
specfication of flags.
2000-10-01 08:10:37 +00:00
Kurt Zeilenga
74b048a5a4
Fix ldap_first/next_attribute to return NULL without error when
...
nothing is left.
2000-09-30 06:57:23 +00:00
Kurt Zeilenga
1890b720b4
cleanup getattr bailout code
2000-09-30 05:35:44 +00:00
Kurt Zeilenga
f8d9bffb98
Don't touch (unescape) URL handed to rebind proc.
2000-09-30 02:37:05 +00:00
Kurt Zeilenga
dd733e163a
ITS#791: fix SASL ctx close
2000-09-29 18:27:06 +00:00
Kurt Zeilenga
2b82d4f486
remove lint
...
update bdb codes
2000-09-22 01:40:57 +00:00
Kurt Zeilenga
90d557402b
Should modify code to bail on initialization errors...
...
For now, just (void) the return
2000-09-21 19:56:04 +00:00
Mark Adamson
bf1ee530ea
Implementation of SASL authorization.
2000-09-21 17:32:54 +00:00
Kurt Zeilenga
e1b73eda93
cleanup
2000-09-16 22:46:04 +00:00
Kurt Zeilenga
f42966f9e1
Fix #undef LDAP_UFN
2000-09-16 06:24:17 +00:00
Kurt Zeilenga
efe39c999f
modify ldap_dn2ufn() to return completely typeless UFNs
...
hide rest of UFN code behind #ifdef LDAP_UFN in preparation
for eventual removal.
2000-09-16 04:33:52 +00:00
Kurt Zeilenga
f4f093054a
overrun protection doesn't work... hmmm....
2000-09-16 01:05:14 +00:00
Kurt Zeilenga
b611ec4b87
consistently use ber_pvt_ber_*() routines
2000-09-15 05:56:37 +00:00
Ben Collins
aaf59e2a2b
don't define NEED_COPY_HOSTENT in the decleration
2000-09-15 03:33:05 +00:00
Ben Collins
621babf51d
fix compiler warnings by including ac/unistd.h and only declaring copy_hostent() when we actually need to use it
2000-09-15 03:06:18 +00:00
Ben Collins
718a6bfca4
initialize Sockbuf * to NULL
2000-09-15 03:05:27 +00:00
Ben Collins
3635cbdbe1
remove unused vars
2000-09-15 03:04:46 +00:00
Ben Collins
9946e999c8
move some vars to where they are actually used to avoid compiler warnings
2000-09-15 03:04:04 +00:00
Ben Collins
81d26d3ac0
fix call to ldap_connect_to_path()
2000-09-15 03:02:57 +00:00
Ben Collins
b2866ff162
s/LDAP_PF_UNIX/LDAP_PF_LOCAL/ so that we actually declare ldap_connect_to_path(). Also fix the decleration to match the function
2000-09-15 02:55:54 +00:00
Ben Collins
5df2c83b38
remove unused var, 'dn'
2000-09-15 02:54:28 +00:00
Ben Collins
960041de8a
include ac/ctype.h and initialize some variables to avoid compiler warnings
2000-09-15 02:53:55 +00:00
Kurt Zeilenga
b641615c53
Keep ldap_first/next_attribute from running past end of attributes.
...
Likely other sequences need this attention.
2000-09-15 01:16:09 +00:00
Kurt Zeilenga
b4c9287f45
Don't send optional cred if empty
2000-09-15 00:09:24 +00:00
Kurt Zeilenga
fbfe0f0ac7
Fix typo in Kbind code
2000-09-14 19:58:55 +00:00
Kurt Zeilenga
ed68c977d9
Zap LDAP_LIBUI
2000-09-14 07:22:01 +00:00
Ben Collins
5a33b7509b
Fix error in if() statement (==, not =)
2000-09-13 21:47:12 +00:00
Ben Collins
07ce0a9935
s/got_max_ssf/got_min_ssf/ thinko fix when checking for minssf. In this case, minssf was never set, and would cause maxssh to be set in error
2000-09-13 21:46:11 +00:00
Randy Kunkee
ab3be5d76d
Include <ac/param.h> to pick up MAXPATHLEN.
2000-09-13 07:26:55 +00:00
Kurt Zeilenga
92c55c4454
Clean up
2000-09-13 01:12:47 +00:00
Kurt Zeilenga
d554a31b58
Move ldap_pvt_tls_init call to ldap_pvt_tls_start
...
Relax user-only options on TLS_RANDFILE and TLS_REQCERT
2000-09-13 00:54:45 +00:00
Kurt Zeilenga
2c30c90876
Rework TLS code (only supports default connection)
2000-09-12 00:30:05 +00:00
Kurt Zeilenga
102a88659b
ITS#717 kbind fixes
2000-09-06 21:32:45 +00:00
Kurt Zeilenga
d59a62e236
Clarify perms
2000-09-04 21:57:01 +00:00
Kurt Zeilenga
cee040a321
Bring UCdata infrastructure.
2000-09-03 23:48:35 +00:00
Kurt Zeilenga
b99299219f
Fix typo
2000-09-03 19:33:26 +00:00
Kurt Zeilenga
5518aefda0
Change default to SSL_PEER_NONE (don't require peer certificate).
2000-09-01 23:24:17 +00:00
Kurt Zeilenga
57ed8f6458
Fix port defaulting
2000-09-01 23:03:17 +00:00