Commit Graph

2476 Commits

Author SHA1 Message Date
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
Kurt Zeilenga
b60b0fe58a Add Makefile templates for libraries. 1998-09-17 09:46:56 +00:00
Kurt Zeilenga
0d680845af Second level directory templates now appear to working correctly. 1998-09-17 08:14:20 +00:00
Kurt Zeilenga
30bdcf4035 Reassign copyright and add liblutil directory 1998-09-17 04:47:36 +00:00
Kurt Zeilenga
4d552de346 From BOOLEAN_LDAP 1998-09-17 04:46:19 +00:00
Kurt Zeilenga
3e20891263 Merge in platform updates from main. 1998-09-16 02:47:02 +00:00
Kurt Zeilenga
58718e3bc6 Add #ifdef for when sched_yield/sched.h is missing. 1998-09-16 02:41:38 +00:00
Kurt Zeilenga
2fb96905d2 Add Kerberos V5 support from Predrag Balorda <pele@artewisdom.com> 1998-09-08 02:26:56 +00:00
Kurt Zeilenga
7fed5fb3ef Remove binary file 1998-09-08 02:06:36 +00:00
Kurt Zeilenga
15f771aee9 remove binary files 1998-09-08 02:06:07 +00:00
Kurt Zeilenga
f3a0f5cdf9 Remove binary files. 1998-09-08 02:05:24 +00:00
Kurt Zeilenga
cac3ea1e92 Import public domain sha1 routines from Steve Reid <steve@edmweb.com>.
Modified for OpenLDAP use by Daniel J. Gregor <djg@gregor.com>.
1998-09-03 06:25:38 +00:00
Kurt Zeilenga
2054d40b7c Added support for SleepyCat DB2 DBI.
Derived from public posting to ldap@umich.edu
	by Kurt Spanier <kurt.spanier@zdv.uni-tuebingen.de>
	See Make-common.dist for DB2 options
1998-09-03 00:50:13 +00:00
Kurt Zeilenga
8c5868b500 Add basic support for MD5 and SHA1 passwords.
SHA1 support is contributed by Daniel J. Gregor <dj@gregor.com>
	MD5 support is contributed by me <kurt@OpenLDAP.org>
	Uses public domain MD5 routines
	Uses ISC/IBM freely redistributable Base64 routines
	SHA1 support requires external SHA1 routines
1998-09-02 21:31:35 +00:00
Kurt Zeilenga
b015c8db24 Add support for OpenBSD. Provided by djg@gregor.com. 1998-08-31 20:49:27 +00:00
Kurt Zeilenga
cb587e9bf0 Added check routines from Stuart Lynne 1998-08-30 18:55:54 +00:00
Kurt Zeilenga
7b531e8e62 Fix includes 1998-08-30 17:52:37 +00:00
Kurt Zeilenga
9071e067ec Belongs in the include directory 1998-08-30 17:51:34 +00:00
Kurt Zeilenga
c98a6ff9e9 Document important limitation of this basic implementation 1998-08-29 21:46:42 +00:00
Kurt Zeilenga
efac7f4c88 Add Reader/Writer Locks to library 1998-08-29 21:45:04 +00:00
Kurt Zeilenga
5d64c8f95d Added Reader/Writer lock code from publicily available examples for
Nichols, Butler, Farrell's book "Pthreads Programming" (O'Reilly).
1998-08-29 21:43:18 +00:00
Kurt Zeilenga
2ec25ef881 Merged files from branch REGEX_REMOVAL. Despite name, this merge
adds POSIX RegEx (and removes BSD re_comp/re_exec) support.
* POSIX RegEx is not currently included in the distribution, however
	we will probably add Henry Spencer's REGEX library soon.
* ACL Group functionality is also included in this merge!
1998-08-21 06:33:42 +00:00
Kurt Zeilenga
cbc4b47f70 removed lint 1998-08-20 19:42:38 +00:00
Kurt Zeilenga
d2ef362f99 Removed use of paths not defined in ldapconfig.h.edit.
Fixed Dependency Generation not to mess with Make-templates.
	side effect: depends are not carried forward after "make makefiles"
1998-08-20 03:56:19 +00:00
Kurt Zeilenga
b3ac184962 Fixed ldapconfig.h.edit/Make-template to generate ldapconfig.h correctly.
ldif2ldbm.c defaults moved to ldapconfig.h, sed no longer needed.
Changed type of lconn_lastused to time_t.
Added include <time.h> were needed.
1998-08-20 02:18:28 +00:00
Kurt Zeilenga
2cf9690f9f Added support for SLEEPYCAT DB2.
Modified main makefile to support local Make-common.  Builds file
from Make-common.dist.
1998-08-20 00:05:08 +00:00
Kurt Zeilenga
adc2134f03 Modified build environment to correctly support bin,sbin,libexec,etc
and setting of variables from Make-platform with defaults in Make-common.
1998-08-19 18:19:39 +00:00
Kurt Zeilenga
fa2da63ca4 Merge from LAMBERT branch 1998-08-17 23:26:25 +00:00
Kurt Zeilenga
3a431b77ef pthread_create attr argument should be passed by value per POSIX
standard.  Was working as is only because pthread_attr_t is normally
a struct.  However, on some systems it may be a integer.
1998-08-14 20:41:47 +00:00
Kurt Zeilenga
1b5451d619 Added patch to support LWP under SunOS 5.6 1998-08-14 20:12:02 +00:00
Kurt Zeilenga
c46afcbd63 Backed up LDAP world P16, causes hang 1998-08-14 05:08:34 +00:00
Kurt Zeilenga
f3e9bc606c integrated changed from rage.net glibc.patch 1998-08-13 19:32:43 +00:00
Kurt Zeilenga
fcbca73f90 Merged LDAPworldCurrent (P1-10,13,15,16,19-22)
Cleaned up old rcs keyworld subs
1998-08-09 04:13:55 +00:00
Kurt Zeilenga
271d678b0e LDAPworldP22: problem with msgids greater than 32767 on 64bit architectures 1998-08-09 03:40:29 +00:00
Kurt Zeilenga
b63a0b1c61 LDAPworldP19: Patch for Next C-Threads 1998-08-09 03:13:49 +00:00
Kurt Zeilenga
0b0c178c1a LDAPworldP16: Search responses may not be returned properly 1998-08-09 03:08:09 +00:00
Kurt Zeilenga
29eda9c799 LDAPworldP15: Internal LDAP function rename 1998-08-09 03:04:12 +00:00
Kurt Zeilenga
1cad5fd9b2 LDAPworld P13: LDAPv2 client referrals bug 1998-08-09 02:56:52 +00:00
Kurt Zeilenga
8d5c2b41e6 LDAPworld P3: SLAPD LDBM Generation with Multiple Backends 1998-08-09 02:33:01 +00:00
Kurt Zeilenga
860038cff1 LDAPworld P1: DEC and other portability issues 1998-08-09 02:28:45 +00:00
Kurt Zeilenga
f6c2f2e6ab Merge FreeBSD Make-templates into LDAPworld branch 1998-08-09 02:24:07 +00:00
Kurt Zeilenga
df38bf83e8 apply FreeBSD changes to main branch 1998-08-09 01:35:58 +00:00
Kurt Zeilenga
d4cfec8612 Fixed RCS headers 1998-08-09 01:32:39 +00:00
Kurt Zeilenga
168d8d9560 Fixed RCS Headers 1998-08-09 01:31:11 +00:00
Kurt Zeilenga
04ff180cbf Modified make system to support CVS instead of RCS 1998-08-09 01:24:49 +00:00
Kurt Zeilenga
8b2170bcf4 Import of FreeBSD LDAP 3.3 Port 1998-08-09 01:05:15 +00:00
Kurt Zeilenga
42e0d83cb3 Initial revision 1998-08-09 00:43:13 +00:00