Bart Hartgers
8153a4039b
The new&improved Sockbuf. This adds the infrastructure on which
...
support for TLS and SASL will be build.
Please inform me of any problems.
1999-03-02 20:23:14 +00:00
Bart Hartgers
027d2fadc6
Updates regarding threads and names.
1999-01-15 14:49:03 +00:00
Kurt Zeilenga
4d2761a6a6
Add simple copyright notice.
1998-12-28 20:53:15 +00:00
Kurt Zeilenga
138d76ecf4
getentry.c: LDAP_RES_SEARCH_REFERENCE changes after fixing loop initializer.
...
references.c: fix same bug here. need to implement parsing.
Still need to implement chasing in cldap.c/result.c
1998-12-24 06:00:53 +00:00
Kurt Zeilenga
a3ac3be6a7
Added lber_get/set_option. Removed lber_debug/ldap_debug.
...
Updated other codes as needed.
1998-12-22 01:34:01 +00:00
Kurt Zeilenga
0024cf2f4b
-lldap reentrantancy improvements from Bart Hartgers <A.Hartgers@phys.tue.nl>
...
including use of ctime_r, gethostby*_r, etc.. Also reworked ldap_sort_entries
to be reentrant.
Need to add code to properly set LDAP_API_FEATURE_THREAD_SAFE.
1998-12-19 01:27:20 +00:00
Hallvard Furuseth
c24d932b02
add ldap_strdup and eliminate strdup in libldap
1998-11-19 06:18:23 +00:00
Hallvard Furuseth
7e6ad5100c
Protoized, moved extern definitions to .h files, fixed related bugs.
...
Most function and variable definitions are now preceded by its extern
definition, for error checking. Retyped a number of functions, usually
to return void. Fixed a number of printf format errors.
API changes (in ldap/include):
Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.
A number of `extern' declarations are left (some added by protoize), to
be cleaned away later. Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.
1998-11-15 22:40:11 +00:00
Hallvard Furuseth
ce5dcbc522
Check if inet_addr() returns 0xffffffff as well as -1.
...
It returns (int)0xffffffff on OSF1 which has 64-bit long, so
`unsigned long address; ... if((address = inet_addr(str)) == -1)' fails.
1998-11-12 02:24:43 +00:00
Kurt Zeilenga
1fc810bfe5
Added support for ldap.conf file. See ldap.conf(5) for details.
...
Modified clients to reduce use of ldapconfig.h.edit.
ldap_{get,set}_option support is relatively complete. Needs
to be extended to support other "features" of OpenLDAP.
1998-11-10 23:37:30 +00:00
Kurt Zeilenga
a48b606a2f
Initial LDAP_API_FEATURE_X_OPENLDAP commit:
...
configure generates ldap_features.h based from ldap_features.h.in
LDAP_REFERRALS -> LDAP_API_FEATURE_OPENLDAP_V2_REFERRALS
LDAP_DNS -> LDAP_API_FEATURE_OPENLDAP_V2_DNS
1998-11-09 19:41:09 +00:00
Kurt Zeilenga
418c49de0c
MSVC5 does like -1UL... replaced with (unsigned long) -1L
1998-11-06 02:04:07 +00:00
Hallvard Furuseth
6b0a490026
Some gcc -W... cleanup
1998-11-05 06:05:52 +00:00
Kurt Zeilenga
42f2a83607
rename ber_init() to ber_init_w_nullc in preparation of LDAPv3 ber_init()
1998-10-26 02:38:39 +00:00
Kurt Zeilenga
702109706b
update ldap/lber headers towards ldapext-ldap-c-api-01
1998-10-26 01:18:41 +00:00
Kurt Zeilenga
2a869f5a99
merged with autoconf branch
1998-10-25 01:41:42 +00:00
Kurt Zeilenga
a9fff6ae9d
Whoops.
1998-10-22 23:28:20 +00:00
Kurt Zeilenga
5ee53ca851
Add in WINSOCK2 ifdefs (ugh).
1998-10-22 23:25:45 +00:00
Kurt Zeilenga
29eda9c799
LDAPworldP15: Internal LDAP function rename
1998-08-09 03:04:12 +00:00
Kurt Zeilenga
42e0d83cb3
Initial revision
1998-08-09 00:43:13 +00:00