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
Kurt Zeilenga
41a48b09dd
Wasn't merged. Just use autoconf version.
1998-10-25 01:57:30 +00:00
Kurt Zeilenga
cbb281cc4e
remove old files
1998-10-25 01:50:47 +00:00
Kurt Zeilenga
2a869f5a99
merged with autoconf branch
1998-10-25 01:41:42 +00:00
Kurt Zeilenga
af77c232f5
Found the really, really stupid bug. The SAFEMEMCPY macro
...
in string.h was hosed for memmove/memcpy cases.
1998-10-25 00:35:35 +00:00
Kurt Zeilenga
4426899396
remove some lint...
1998-10-24 22:06:36 +00:00
Kurt Zeilenga
c277fff67f
Still looking for the ldapsearch bug... and cleaning up things along the way.
1998-10-24 21:39:29 +00:00
Kurt Zeilenga
198461b7ff
minor cleanup
1998-10-24 20:25:50 +00:00
Kurt Zeilenga
6c6d3d8f0c
update locking codes, remove old platform specific defines
1998-10-24 20:18:31 +00:00
Kurt Zeilenga
5c296dc0ba
Minor changes to support NT.
1998-10-23 17:42:19 +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
984a661277
clean up includes
1998-10-22 21:35:53 +00:00
Kurt Zeilenga
569087f1ba
Add ltest/test workspaces/project files for NT/VC++ port.
1998-10-22 21:23:15 +00:00
Kurt Zeilenga
309ed6442f
Fix ltest/ttest linking.
1998-10-22 21:06:55 +00:00
Kurt Zeilenga
0549966661
Tried to port to NT... but no resolver routines.
1998-10-22 20:58:37 +00:00
Kurt Zeilenga
d3123eada8
Quick NT port of liblter test utilities.
...
Updated AVL NT port.
1998-10-22 20:44:42 +00:00
Kurt Zeilenga
f320dcbcb9
re-add sys/stat.h include for GDBM
1998-10-22 20:19:48 +00:00
Kurt Zeilenga
12a81157a1
Add project/workspace files for testavl.
...
Resolved compiler warnings on NT.
1998-10-22 20:04:24 +00:00
Kurt Zeilenga
5b62482fac
The world compiles and links....
...
Need to sort out remaining ifnames and run testsuite.
1998-10-22 03:03:07 +00:00
Kurt Zeilenga
71b34373b7
Moved strdup/tempnam to liblutil
1998-10-22 01:45:30 +00:00
Kurt Zeilenga
c4b1286fa9
SLAPD and tools compile and link!
...
LTHREAD still needs work.
1998-10-22 00:40:49 +00:00
Kurt Zeilenga
bed979f9fc
No longer supported.
1998-10-21 02:36:02 +00:00
Kurt Zeilenga
92b28cf397
Fix BYTE_ORDER test.
1998-10-21 02:22:43 +00:00
Kurt Zeilenga
c7fe14a916
Have code use <sys/types.h> BYTE_ORDER as before.
1998-10-21 01:23:00 +00:00
Kurt Zeilenga
4bce7aa748
VC++ update... tools now link!
1998-10-20 21:14:19 +00:00
Kurt Zeilenga
98dd3e9b2f
Add test for little/big endian.
1998-10-20 21:08:08 +00:00
Kurt Zeilenga
6880f37fdc
modified for OpenLDAP
1998-10-20 19:51:08 +00:00
Kurt Zeilenga
b2ccd693a3
add public domain getopt(3)
1998-10-20 19:48:10 +00:00
Kurt Zeilenga
eb94d0d608
Fix fake error generation.
1998-10-20 18:38:59 +00:00
Kurt Zeilenga
30eb9ed76f
Modified NT changes to work under UNIX.
1998-10-20 17:47:51 +00:00
Kurt Zeilenga
7018dd1eb5
HTONL -> AC_HTONL
1998-10-20 04:41:28 +00:00
Kurt Zeilenga
13bd786abf
VC++ Port: round 1
1998-10-20 04:13:34 +00:00
Kurt Zeilenga
490bb72f82
Remove DEFS variables from Makefiles, remove bridge.h.
...
Rely on portable.h.
1998-10-19 23:51:45 +00:00
Kurt Zeilenga
76ed17f794
Merge in latest from -current.
1998-10-19 19:19:48 +00:00
Kurt Zeilenga
ae21b1ee94
Clean up sh commands in Makefiles (incorrect use of ';').
...
Fix make install problems.
1998-09-28 19:27:53 +00:00
Kurt Zeilenga
0c0f011dc0
Everything compiles.... but tests fail...
1998-09-25 19:25:20 +00:00
Kurt Zeilenga
46c3cddad4
more ldap_cdefs.h, less bridge.h
1998-09-23 08:56:54 +00:00
Kurt Zeilenga
6949ab31ac
Use ldap_cdefs.h more. Use bridge.h less.
1998-09-23 08:13:37 +00:00
Kurt Zeilenga
84864e55e1
Added acconfig.h defines. started to clean up -llber.
1998-09-23 04:33:15 +00:00
Kurt Zeilenga
14df2c8ba2
Fixed md5/sha files.
1998-09-22 08:59:26 +00:00
Kurt Zeilenga
d0339b19a2
Fix VPATH includes/libraries
1998-09-21 02:59:21 +00:00
Kurt Zeilenga
4a5d740e2e
Merged in per cache entry reader/writer locks from OPENLDAP_DEVEL_THREAD
1998-09-20 20:22:46 +00:00
Kurt Zeilenga
32a688f0df
Added basic VPATH support. VPATH Make depend still needs work.
1998-09-20 18:54:36 +00:00
Kurt Zeilenga
b5d6d5e2a8
Allow OpenLDAP to be built without LDBM.
1998-09-19 20:57:14 +00:00
Kurt Zeilenga
2753c5176a
FreeBSD2 has POSIX_THREADS but is missing sched_yield()
1998-09-19 05:43:12 +00:00
Kurt Zeilenga
59c26cc381
Added detection of POSIX thread defines.
1998-09-19 01:03:25 +00:00
Kurt Zeilenga
92a1440f2d
Fixed CRYPT, MD5, and SHA1 support.
...
Added basic -lwrap detection.
1998-09-18 22:54:37 +00:00
Kurt Zeilenga
86aaa17f2d
Remove old build system.
1998-09-18 19:00:28 +00:00
Kurt Zeilenga
09b44ff101
Fixed make clean/install for everything but man pages.
1998-09-18 18:11:02 +00:00
Kurt Zeilenga
2e769ccf43
Make all, clean, veryclean, depend, install all appear to work!
...
Now to sort out configure enable/with options.
1998-09-18 06:03:19 +00:00
Kurt Zeilenga
310163f611
Add DEFS/LIBS support.
1998-09-17 18:58:48 +00:00
Kurt Zeilenga
adf3d5a200
Libraries actually compiles using current templates...
...
however much is still needed (included db2 and thread detection)
1998-09-17 10:13:13 +00:00