Hallvard Furuseth
523fd2c891
Fix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
...
#include <stdlib.h> to get malloc & co various places,
#include <ac/string.h> to get strlen & co in (liblutil/setproctitle.c),
declare ch_malloc & co (slurp.h), avl_find_lin (avl.h), Malloc (ud/edit.c).
Also changed ch_malloc & co from char* to void* functions.
1998-11-11 23:37:38 +00:00
Hallvard Furuseth
dfc9a1c2ff
&deref_kv -> deref_kv; som compilers don't like &array
1998-11-11 15:42:22 +00:00
Kurt Zeilenga
d6e05ecbd7
Update NT4 port.
1998-11-11 05:50:51 +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
Hallvard Furuseth
12b9ad0954
Removed LDAP_P in unhex' prototype; unhex(char) is incompatible with unhex().
1998-11-10 22:18:22 +00:00
Kurt Zeilenga
120f75219d
Update apitest with to toy with additional ldap options and extensions.
1998-11-10 20:27:47 +00:00
Kurt Zeilenga
e6ac1f46c3
Add support for runtime determination of API extensions.
1998-11-09 23:21:38 +00:00
Kurt Zeilenga
fd3000d5dc
Initialize openldap_ldap_global_options struct (not yet used).
1998-11-09 23:02:27 +00:00
Kurt Zeilenga
1f4b479b2b
Update thread detection:
...
ifndef HAVE_PTHREAD_KILL pthread_kill() code and prototype.
Fix HAVE_FUNC_PTHREAD defines from previous change.
1998-11-09 21:15:56 +00:00
Kurt Zeilenga
8cb0ff3a68
Fix rwlock pthread draft4 compatibility.
...
Fix pthread_attr_init/destroy pthread draft4 compatibility.
1998-11-09 20:50:52 +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
5960272713
Split out ldapoptions from struct ldap to facilate global options.
...
Add openldap_ldap_initialize() call to ldap_init/ldap_open/ldap_get/set_options.
1998-11-09 18:40:37 +00:00
Hallvard Furuseth
ee4ee470d5
dtest.c needed lber-int.h (struct berelement)
1998-11-08 02:31:31 +00:00
Kurt Zeilenga
435a502cbc
Fix LDAP_DNS code to use LDAP_BOOL_GET
1998-11-08 01:11:09 +00:00
Kurt Zeilenga
f67adafb44
Fix detach.c typo in OBJS
1998-11-07 00:33:02 +00:00
Kurt Zeilenga
d4a4a4cd25
Add lutil_passwd()
1998-11-06 22:04:14 +00:00
Kurt Zeilenga
09bff5c2d5
Should include lutil.h to get it's own prototype.
1998-11-06 22:03:15 +00:00
Kurt Zeilenga
418c49de0c
MSVC5 does like -1UL... replaced with (unsigned long) -1L
1998-11-06 02:04:07 +00:00
Kurt Zeilenga
36378ea411
Updated MSVC5 workspaces and projects.
...
Added ac/stdarg.h and updated liblber encode/decode to use it.
1998-11-06 01:18:49 +00:00
Kurt Zeilenga
b06e8682a9
add exit, check commitlogs
1998-11-05 06:18:06 +00:00
Kurt Zeilenga
7cd83cc8a0
Simple test to verify commitlog fix.
1998-11-05 06:16:11 +00:00
Kurt Zeilenga
4646b76608
define _REENTRANT & _THREAD_SAFE to pull in reentrant/threadsafe prototypes.
...
modify apps to use TOLOWER/TOUPPER macros to ensure isupper/islower is
called when approprate.
1998-11-05 06:11:47 +00:00
Hallvard Furuseth
6b0a490026
Some gcc -W... cleanup
1998-11-05 06:05:52 +00:00
Hallvard Furuseth
c6e48d6770
Typo when !LDAP_REFERRALS
1998-11-05 04:58:52 +00:00
Kurt Zeilenga
275d82352d
Add descriptive comment at top.
1998-11-05 02:48:41 +00:00
Hallvard Furuseth
f81ee9b63e
Added ldap_msgtype() and ldap_msgid()
1998-11-04 23:51:31 +00:00
Hallvard Furuseth
41e25b4041
Added ldap_explode_rdn()
1998-11-04 23:28:51 +00:00
Kurt Zeilenga
02e98f106c
Make sure vsnprintf() exists before using it. Add fallbacks.
1998-11-04 23:25:56 +00:00
Hallvard Furuseth
2f33278850
Added lutil_detach()
1998-11-04 23:05:02 +00:00
Kurt Zeilenga
a169d9dea6
Add apitest to build.
1998-11-04 20:09:25 +00:00
Kurt Zeilenga
8dae04328f
API test for checking draft API issues.
1998-11-04 20:09:07 +00:00
Kurt Zeilenga
ba47ae1c6d
Update options.c to use new defines.
1998-11-04 20:08:37 +00:00
Kurt Zeilenga
cedf6b4b5f
8-bit memcmp()
1998-11-04 18:47:15 +00:00
Hallvard Furuseth
d171cd4f42
Some gcc -W cleanup
1998-11-04 13:15:18 +00:00
Kurt Zeilenga
8333a03346
struct ldap is now opaque to clients.
...
updated clients to use ldap_get/set_options
ld_options is renamed ld_booleans. ldap-int.h has accessor macros.
updated libldap to use new accessor macros.
1998-11-04 01:41:00 +00:00
Kurt Zeilenga
1203736b7b
Add setproctile to liblutil
1998-11-04 01:36:44 +00:00
Kurt Zeilenga
34c945b86d
added ber_print_error() and renamed lber_bprint into ber_ namespace.
1998-10-27 07:50:07 +00:00
Stuart Lynne
80cf83ace8
1. add ldap_get_lderrno(), required if struct ldap is private
1998-10-27 07:10:20 +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
43f29c3cb8
More header work toward draft-ietf-ldapext-ldap-c-api-01.
1998-10-26 01:49:56 +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
ded2194df7
Apply Ken McGarrahan's ldif padding fix.
1998-10-25 18:57:03 +00:00
Kurt Zeilenga
adb49a3daf
Working LDAP search on NT4!
1998-10-25 17:40:01 +00:00
Kurt Zeilenga
684ad6b857
Add VC++ projects/workspaces from AC branch.
1998-10-25 17:31:07 +00:00
Kurt Zeilenga
7ae5aa69a7
wasn't merged in first round.
1998-10-25 03:22:04 +00:00
Kurt Zeilenga
926ba6cb4a
New files from Autoconf branch.
1998-10-25 03:15:45 +00:00
Kurt Zeilenga
dd51f86042
More files that didn't get merged properly.
1998-10-25 03:13:43 +00:00
Kurt Zeilenga
eb16d5d88f
replace with autoconf versions
1998-10-25 02:08:13 +00:00
Kurt Zeilenga
a57b7a5bb0
replace with ac version
1998-10-25 02:02:31 +00:00
Kurt Zeilenga
2fa8827ccf
replace with autoconf version
1998-10-25 02:01:14 +00:00