]> git.sur5r.net Git - openldap/log
openldap
26 years agoPthread library check. Autoconf uses same cache variable based
Kurt Zeilenga [Fri, 13 Nov 1998 04:28:56 +0000 (04:28 +0000)]
Pthread library check.  Autoconf uses same cache variable based
upon library and function, but not secondary libraries.  Must use
different functions in such cases.

26 years agoRemoved space in front of `#endif'; `make depend' did not like it.
Hallvard Furuseth [Fri, 13 Nov 1998 03:06:54 +0000 (03:06 +0000)]
Removed space in front of `#endif'; `make depend' did not like it.

26 years agoEliminate #ifdef DOS
Kurt Zeilenga [Thu, 12 Nov 1998 23:28:47 +0000 (23:28 +0000)]
Eliminate #ifdef DOS

26 years agoUpdates based upon latest NT UserDirectory changes:
Kurt Zeilenga [Thu, 12 Nov 1998 23:25:53 +0000 (23:25 +0000)]
Updates based upon latest NT UserDirectory changes:
configure checks for getpwuid(), sys/resource.h, and pwd.h
Fix !TERMIOS && !SGTTY ifdef in ud/util.c

26 years agoModified UD as necessary to compile and link under NT.
Kurt Zeilenga [Thu, 12 Nov 1998 23:19:16 +0000 (23:19 +0000)]
Modified UD as necessary to compile and link under NT.

26 years agoMove extern declarations to headers.
Kurt Zeilenga [Thu, 12 Nov 1998 21:07:28 +0000 (21:07 +0000)]
Move extern declarations to headers.
Update NT portable.h and features.h

26 years agoRework prototype ifdef to use __NO_PROTOTYPES and __NEED_PROTOTYPES
Kurt Zeilenga [Thu, 12 Nov 1998 20:30:42 +0000 (20:30 +0000)]
Rework prototype ifdef to use  __NO_PROTOTYPES and __NEED_PROTOTYPES
to force no prototypes or require them.
Remove _WIN32 clause.  Will update portable.h.nt to define __NEED_PROTOTYPES.

26 years agoInclude ldif.h to pickup declaration of str_getline()
Kurt Zeilenga [Thu, 12 Nov 1998 20:17:01 +0000 (20:17 +0000)]
Include ldif.h to pickup declaration of str_getline()
Fix pointer truncation to int by including prototypes in forward declarations.

26 years agoremove an entry from its parent's children ID list when it's deleted.
Kurt Zeilenga [Thu, 12 Nov 1998 18:39:33 +0000 (18:39 +0000)]
remove an entry from its parent's children ID list when it's deleted.
Provided by "Gary D. Williams" <sasgwi@unx.sas.com>

26 years agoForced commit to correct previous log, files were not changed.
Hallvard Furuseth [Thu, 12 Nov 1998 03:03:57 +0000 (03:03 +0000)]
Forced commit to correct previous log, files were not changed.

inet_addr() on OSF1 returns (unsigned int)0xffffffff, not int.
If it had returned int, the old code would have worked.

26 years agoCheck if inet_addr() returns 0xffffffff as well as -1.
Hallvard Furuseth [Thu, 12 Nov 1998 02:24:43 +0000 (02:24 +0000)]
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.

26 years agoFix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
Hallvard Furuseth [Wed, 11 Nov 1998 23:37:38 +0000 (23:37 +0000)]
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.

26 years agoMemory leaks: Values from ldap_get_dn were not freed.
Hallvard Furuseth [Wed, 11 Nov 1998 22:10:05 +0000 (22:10 +0000)]
Memory leaks: Values from ldap_get_dn were not freed.

26 years agoMemory leaks: Values from ldap_dn2ufn and ldap_get_dn were not freed.
Hallvard Furuseth [Wed, 11 Nov 1998 21:27:21 +0000 (21:27 +0000)]
Memory leaks: Values from ldap_dn2ufn and ldap_get_dn were not freed.

26 years agoLocks were not always released, in particular if something went wrong.
Hallvard Furuseth [Wed, 11 Nov 1998 19:17:25 +0000 (19:17 +0000)]
Locks were not always released, in particular if something went wrong.
Fixed in slurpd and the slapd main dir.  Slapd clients were not examined.
It also "felt right" to swap the order of closing dfp and rfp in slurpd
copy_replog(), so the last acquired lock is unlocked first.

26 years agostrlen() needed string.h.
Hallvard Furuseth [Wed, 11 Nov 1998 16:35:58 +0000 (16:35 +0000)]
strlen() needed string.h.

26 years agoFix HAVE_PTHREAD_D4 -> HAVE_PTHREADS_D4
Hallvard Furuseth [Wed, 11 Nov 1998 15:53:04 +0000 (15:53 +0000)]
Fix HAVE_PTHREAD_D4 -> HAVE_PTHREADS_D4

26 years ago&deref_kv -> deref_kv; som compilers don't like &array
Hallvard Furuseth [Wed, 11 Nov 1998 15:42:22 +0000 (15:42 +0000)]
&deref_kv -> deref_kv; som compilers don't like &array

26 years agoUpdate NT4 port.
Kurt Zeilenga [Wed, 11 Nov 1998 05:50:51 +0000 (05:50 +0000)]
Update NT4 port.

26 years agoAdd/Remove defines to make current with ldapconfig.h.edit 1.8
Kurt Zeilenga [Wed, 11 Nov 1998 03:13:55 +0000 (03:13 +0000)]
Add/Remove defines to make current with ldapconfig.h.edit 1.8

26 years agoCreate feature file for NT build environment.
Kurt Zeilenga [Wed, 11 Nov 1998 03:03:03 +0000 (03:03 +0000)]
Create feature file for NT build environment.

26 years agoDon't include portable.h. Headers can and should assume portable.h
Kurt Zeilenga [Wed, 11 Nov 1998 01:38:02 +0000 (01:38 +0000)]
Don't include portable.h.  Headers can and should assume portable.h
has been included.

26 years agoUpdate configure to handle DEC OSF1 3.2 special cases.
Kurt Zeilenga [Wed, 11 Nov 1998 00:24:22 +0000 (00:24 +0000)]
Update configure to handle DEC OSF1 3.2 special cases.
-thread & -pthread are still treated as libraries, will need
additional work to use them as CFLAGS.
Eliminated HAVE_DCE define (was redundant) and its use.  Code
now relies on draft4 and function existance tests.

26 years agoAdded support for ldap.conf file. See ldap.conf(5) for details.
Kurt Zeilenga [Tue, 10 Nov 1998 23:37:30 +0000 (23:37 +0000)]
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.

26 years agoHAVE_PTHREAD_ATTR_SETDETACHSTATE_NP should be HAVE_PTHREAD_ATTR_SETDETACH_NP
Kurt Zeilenga [Tue, 10 Nov 1998 22:42:19 +0000 (22:42 +0000)]
HAVE_PTHREAD_ATTR_SETDETACHSTATE_NP should be HAVE_PTHREAD_ATTR_SETDETACH_NP

26 years agoRemoved LDAP_P in unhex' prototype; unhex(char) is incompatible with unhex().
Hallvard Furuseth [Tue, 10 Nov 1998 22:18:22 +0000 (22:18 +0000)]
Removed LDAP_P in unhex' prototype; unhex(char) is incompatible with unhex().

26 years agoUpdate apitest with to toy with additional ldap options and extensions.
Kurt Zeilenga [Tue, 10 Nov 1998 20:27:47 +0000 (20:27 +0000)]
Update apitest with to toy with additional ldap options and extensions.

26 years agoAdd support for OSF1 c89's -thread option to enable threads.
Kurt Zeilenga [Tue, 10 Nov 1998 19:48:52 +0000 (19:48 +0000)]
Add support for OSF1 c89's -thread option to enable threads.
Fix old -pthread -lmach ... support to check for -lc_r instead of -lc.

26 years agoAdd support for runtime determination of API extensions.
Kurt Zeilenga [Mon, 9 Nov 1998 23:21:38 +0000 (23:21 +0000)]
Add support for runtime determination of API extensions.

26 years agoInitialize openldap_ldap_global_options struct (not yet used).
Kurt Zeilenga [Mon, 9 Nov 1998 23:02:27 +0000 (23:02 +0000)]
Initialize openldap_ldap_global_options struct (not yet used).

26 years agoUpdate thread detection:
Kurt Zeilenga [Mon, 9 Nov 1998 21:15:56 +0000 (21:15 +0000)]
Update thread detection:
  ifndef HAVE_PTHREAD_KILL pthread_kill() code and prototype.
  Fix HAVE_FUNC_PTHREAD defines from previous change.

26 years agoFix rwlock pthread draft4 compatibility.
Kurt Zeilenga [Mon, 9 Nov 1998 20:50:52 +0000 (20:50 +0000)]
Fix rwlock pthread draft4 compatibility.
Fix pthread_attr_init/destroy pthread draft4 compatibility.

26 years agoInitial LDAP_API_FEATURE_X_OPENLDAP commit:
Kurt Zeilenga [Mon, 9 Nov 1998 19:41:09 +0000 (19:41 +0000)]
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

26 years agoSplit out ldapoptions from struct ldap to facilate global options.
Kurt Zeilenga [Mon, 9 Nov 1998 18:40:37 +0000 (18:40 +0000)]
Split out ldapoptions from struct ldap to facilate global options.
Add openldap_ldap_initialize() call to ldap_init/ldap_open/ldap_get/set_options.

26 years agoAdd -lresolv check for LDAP_DNS.
Kurt Zeilenga [Sun, 8 Nov 1998 19:37:03 +0000 (19:37 +0000)]
Add -lresolv check for LDAP_DNS.
Updated portable.h.nt based upon portable.h.in (1.11).

26 years agoDon't try to use TIOCGWINSZ unless it's defined.
Kurt Zeilenga [Sun, 8 Nov 1998 17:26:23 +0000 (17:26 +0000)]
Don't try to use TIOCGWINSZ unless it's defined.
initialize_client() should return void.  Fix and forward declaration.

26 years agoRemoved bad LDAP* argument to disambiguate()
Hallvard Furuseth [Sun, 8 Nov 1998 05:01:17 +0000 (05:01 +0000)]
Removed bad LDAP* argument to disambiguate()

26 years agoUndo last change (I commited the wrong version)
Hallvard Furuseth [Sun, 8 Nov 1998 04:59:11 +0000 (04:59 +0000)]
Undo last change (I commited the wrong version)

26 years agold could be used uninitialized
Hallvard Furuseth [Sun, 8 Nov 1998 03:01:51 +0000 (03:01 +0000)]
ld could be used uninitialized

26 years agober_scanf() returns unsigned long, not int
Hallvard Furuseth [Sun, 8 Nov 1998 02:56:47 +0000 (02:56 +0000)]
ber_scanf() returns unsigned long, not int

26 years agodtest.c needed lber-int.h (struct berelement)
Hallvard Furuseth [Sun, 8 Nov 1998 02:31:31 +0000 (02:31 +0000)]
dtest.c needed lber-int.h (struct berelement)

26 years agomissing 2nd argument to faxtotpc()
Hallvard Furuseth [Sun, 8 Nov 1998 02:08:18 +0000 (02:08 +0000)]
missing 2nd argument to faxtotpc()

26 years agoRemoved bad LDAP* argument to disambiguate()
Hallvard Furuseth [Sun, 8 Nov 1998 01:16:36 +0000 (01:16 +0000)]
Removed bad LDAP* argument to disambiguate()

26 years agoFix LDAP_DNS code to use LDAP_BOOL_GET
Kurt Zeilenga [Sun, 8 Nov 1998 01:11:09 +0000 (01:11 +0000)]
Fix LDAP_DNS code to use LDAP_BOOL_GET

26 years agologinfo test...
Kurt Zeilenga [Sun, 8 Nov 1998 00:47:07 +0000 (00:47 +0000)]
loginfo test...

26 years agoTest new loginfo, only added a comment.
Kurt Zeilenga [Sun, 8 Nov 1998 00:44:17 +0000 (00:44 +0000)]
Test new loginfo, only added a comment.

26 years agoAdded comment to test new loginfo commands.
Kurt Zeilenga [Sun, 8 Nov 1998 00:40:40 +0000 (00:40 +0000)]
Added comment to test new loginfo commands.

26 years agoAdd additional LDAPD/ISODE checks
Kurt Zeilenga [Sun, 8 Nov 1998 00:26:20 +0000 (00:26 +0000)]
Add additional LDAPD/ISODE checks

26 years agoFix LDBM_SYNC typo
Kurt Zeilenga [Sat, 7 Nov 1998 17:14:35 +0000 (17:14 +0000)]
Fix LDBM_SYNC typo

26 years agoMake flush_writes the default. Change option to 'dbcachenowsync'.
Kurt Zeilenga [Sat, 7 Nov 1998 02:25:32 +0000 (02:25 +0000)]
Make flush_writes the default.  Change option to 'dbcachenowsync'.
Change backend struct option to li_dbcachewsync.

26 years agoFix detach.c typo in OBJS
Kurt Zeilenga [Sat, 7 Nov 1998 00:33:02 +0000 (00:33 +0000)]
Fix detach.c typo in OBJS

26 years agoAdd lutil_passwd()
Kurt Zeilenga [Fri, 6 Nov 1998 22:04:14 +0000 (22:04 +0000)]
Add lutil_passwd()

26 years agoShould include lutil.h to get it's own prototype.
Kurt Zeilenga [Fri, 6 Nov 1998 22:03:15 +0000 (22:03 +0000)]
Should include lutil.h to get it's own prototype.

26 years agoAdd LDAPD library checks.
Kurt Zeilenga [Fri, 6 Nov 1998 21:14:19 +0000 (21:14 +0000)]
Add LDAPD library checks.
Remove AC_GCC_TRADITIONAL check.  Likely to cause more harm than good.

26 years agomissing newlines bugfix from Dan.
Kurt Zeilenga [Fri, 6 Nov 1998 20:43:19 +0000 (20:43 +0000)]
missing newlines bugfix from Dan.

26 years agoj_sanchez@stl.es
Kurt Zeilenga [Fri, 6 Nov 1998 20:40:47 +0000 (20:40 +0000)]
j_sanchez@stl.es

26 years agomail500 changes from wesley.craig@umich.edu
Kurt Zeilenga [Fri, 6 Nov 1998 20:39:22 +0000 (20:39 +0000)]
mail500 changes from wesley.craig@umich.edu

26 years agoMSVC5 does like -1UL... replaced with (unsigned long) -1L
Kurt Zeilenga [Fri, 6 Nov 1998 02:04:07 +0000 (02:04 +0000)]
MSVC5 does like -1UL...  replaced with (unsigned long) -1L

26 years agoUpdated MSVC5 workspaces and projects.
Kurt Zeilenga [Fri, 6 Nov 1998 01:18:49 +0000 (01:18 +0000)]
Updated MSVC5 workspaces and projects.
Added ac/stdarg.h and updated liblber encode/decode to use it.

26 years agoGeneric variable argument header. Hides ugly ifdef.
Kurt Zeilenga [Fri, 6 Nov 1998 01:03:14 +0000 (01:03 +0000)]
Generic variable argument header.  Hides ugly ifdef.

26 years agoUse TOUPPER macro.
Kurt Zeilenga [Thu, 5 Nov 1998 22:08:43 +0000 (22:08 +0000)]
Use TOUPPER macro.

26 years agoFix datum typo.
Kurt Zeilenga [Thu, 5 Nov 1998 21:56:08 +0000 (21:56 +0000)]
Fix datum typo.

26 years agoUpdated to 1.8
Kurt Zeilenga [Thu, 5 Nov 1998 19:39:26 +0000 (19:39 +0000)]
Updated to 1.8

26 years agoUpdate version numbers.
Kurt Zeilenga [Thu, 5 Nov 1998 19:33:54 +0000 (19:33 +0000)]
Update version numbers.

26 years agoSome gcc -W... cleanup
Hallvard Furuseth [Thu, 5 Nov 1998 08:03:48 +0000 (08:03 +0000)]
Some gcc -W... cleanup

26 years agoSome gcc -W... cleanup
Hallvard Furuseth [Thu, 5 Nov 1998 07:31:40 +0000 (07:31 +0000)]
Some gcc -W... cleanup

26 years agoSome gcc -W... cleanup
Hallvard Furuseth [Thu, 5 Nov 1998 06:49:49 +0000 (06:49 +0000)]
Some gcc -W... cleanup

26 years agoadd exit, check commitlogs
Kurt Zeilenga [Thu, 5 Nov 1998 06:18:06 +0000 (06:18 +0000)]
add exit, check commitlogs

26 years agoSimple test to verify commitlog fix.
Kurt Zeilenga [Thu, 5 Nov 1998 06:16:11 +0000 (06:16 +0000)]
Simple test to verify commitlog fix.

26 years agodefine _REENTRANT & _THREAD_SAFE to pull in reentrant/threadsafe prototypes.
Kurt Zeilenga [Thu, 5 Nov 1998 06:11:47 +0000 (06:11 +0000)]
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.

26 years agoSome gcc -W... cleanup
Hallvard Furuseth [Thu, 5 Nov 1998 06:05:52 +0000 (06:05 +0000)]
Some gcc -W... cleanup

26 years agoSome gcc -W... cleanup
Hallvard Furuseth [Thu, 5 Nov 1998 05:47:02 +0000 (05:47 +0000)]
Some gcc -W... cleanup

26 years agoPrototype vs. K&R mismatch
Hallvard Furuseth [Thu, 5 Nov 1998 05:06:51 +0000 (05:06 +0000)]
Prototype vs. K&R mismatch

26 years agoGet struct sockaddr for slap.h
Hallvard Furuseth [Thu, 5 Nov 1998 05:05:05 +0000 (05:05 +0000)]
Get struct sockaddr for slap.h

26 years agoEnclose debug variables in #ifdef LDAP_DEBUG
Hallvard Furuseth [Thu, 5 Nov 1998 05:03:12 +0000 (05:03 +0000)]
Enclose debug variables in #ifdef LDAP_DEBUG

26 years agoTypo when !LDAP_REFERRALS
Hallvard Furuseth [Thu, 5 Nov 1998 04:58:52 +0000 (04:58 +0000)]
Typo when !LDAP_REFERRALS

26 years agoNeeded -llutil before @LUTIL_LIBS@
Kurt Zeilenga [Thu, 5 Nov 1998 03:06:12 +0000 (03:06 +0000)]
Needed -llutil before @LUTIL_LIBS@

26 years agoAdd cross compiling warnings and errors.
Kurt Zeilenga [Thu, 5 Nov 1998 02:50:28 +0000 (02:50 +0000)]
Add cross compiling warnings and errors.
Now require --enable-x-compile if cross compiling.
Add tests for threadsafe/reentrant functions.
Add tests for setconcurrency functions.

26 years agoAdd descriptive comment at top.
Kurt Zeilenga [Thu, 5 Nov 1998 02:48:41 +0000 (02:48 +0000)]
Add descriptive comment at top.

26 years agoAvoid f_next name conflict
Hallvard Furuseth [Thu, 5 Nov 1998 02:46:29 +0000 (02:46 +0000)]
Avoid f_next name conflict

26 years agoreplace detach.c with lutil_detach()
Hallvard Furuseth [Thu, 5 Nov 1998 01:56:41 +0000 (01:56 +0000)]
replace detach.c with lutil_detach()

26 years agoreplace detach.c with lutil_detach()
Hallvard Furuseth [Thu, 5 Nov 1998 01:30:02 +0000 (01:30 +0000)]
replace detach.c with lutil_detach()

26 years agoAdded lutil_detach()
Hallvard Furuseth [Thu, 5 Nov 1998 01:22:42 +0000 (01:22 +0000)]
Added lutil_detach()

26 years agoAdded ldap_explode_rdn()
Hallvard Furuseth [Thu, 5 Nov 1998 00:40:04 +0000 (00:40 +0000)]
Added ldap_explode_rdn()

26 years agoNeeds LUTIL_LIBS
Kurt Zeilenga [Thu, 5 Nov 1998 00:37:46 +0000 (00:37 +0000)]
Needs LUTIL_LIBS

26 years agoFavor termios over sgtty.
Kurt Zeilenga [Thu, 5 Nov 1998 00:09:41 +0000 (00:09 +0000)]
Favor termios over sgtty.

26 years agoAdded ldap_msgtype() and ldap_msgid()
Hallvard Furuseth [Wed, 4 Nov 1998 23:51:31 +0000 (23:51 +0000)]
Added ldap_msgtype() and ldap_msgid()

26 years agoAdd tests for vsnprintf and snprintf.
Kurt Zeilenga [Wed, 4 Nov 1998 23:29:52 +0000 (23:29 +0000)]
Add tests for vsnprintf and snprintf.

26 years agoAdded ldap_explode_rdn()
Hallvard Furuseth [Wed, 4 Nov 1998 23:28:51 +0000 (23:28 +0000)]
Added ldap_explode_rdn()

26 years agoMake sure vsnprintf() exists before using it. Add fallbacks.
Kurt Zeilenga [Wed, 4 Nov 1998 23:25:56 +0000 (23:25 +0000)]
Make sure vsnprintf() exists before using it.  Add fallbacks.

26 years agoAdded lutil_detach()
Hallvard Furuseth [Wed, 4 Nov 1998 23:05:02 +0000 (23:05 +0000)]
Added lutil_detach()

26 years agoHAVE_LWP_THR was renamed HAVE_THR.
Kurt Zeilenga [Wed, 4 Nov 1998 22:32:18 +0000 (22:32 +0000)]
HAVE_LWP_THR was renamed HAVE_THR.

26 years agoUpdate to 2.0-devel
Kurt Zeilenga [Wed, 4 Nov 1998 20:20:34 +0000 (20:20 +0000)]
Update to 2.0-devel

26 years agoAdd CPP check.
Kurt Zeilenga [Wed, 4 Nov 1998 20:10:51 +0000 (20:10 +0000)]
Add CPP check.

26 years agoAdd additional defines to allow more compile time API checks.
Kurt Zeilenga [Wed, 4 Nov 1998 20:09:57 +0000 (20:09 +0000)]
Add additional defines to allow more compile time API checks.

26 years agoAdd apitest to build.
Kurt Zeilenga [Wed, 4 Nov 1998 20:09:25 +0000 (20:09 +0000)]
Add apitest to build.

26 years agoAPI test for checking draft API issues.
Kurt Zeilenga [Wed, 4 Nov 1998 20:09:07 +0000 (20:09 +0000)]
API test for checking draft API issues.

26 years agoUpdate options.c to use new defines.
Kurt Zeilenga [Wed, 4 Nov 1998 20:08:37 +0000 (20:08 +0000)]
Update options.c to use new defines.

26 years agoldapd did not compile
Hallvard Furuseth [Wed, 4 Nov 1998 19:45:38 +0000 (19:45 +0000)]
ldapd did not compile

26 years agoUSE_LOCKF -> HAVE_FLOCK
Hallvard Furuseth [Wed, 4 Nov 1998 19:43:51 +0000 (19:43 +0000)]
USE_LOCKF -> HAVE_FLOCK