]> git.sur5r.net Git - openldap/log
openldap
25 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.

25 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.

25 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.

25 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.

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

25 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

25 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

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

25 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

25 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.

25 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.

25 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.

25 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.

25 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

25 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().

25 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.

25 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.

25 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.

25 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).

25 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.

25 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.

25 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

25 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.

25 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).

25 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.

25 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()

25 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)

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

25 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

25 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)

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

25 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()

25 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

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

25 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.

25 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.

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

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

25 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.

25 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

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

25 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.

25 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.

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

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

25 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

25 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

25 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.

25 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.

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

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

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

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

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

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

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

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

25 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.

25 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.

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

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

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

25 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

25 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

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

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

25 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.

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

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

25 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()

25 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()

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

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

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

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

25 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()

25 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.

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

25 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.

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

25 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.

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

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

25 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.

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

25 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.

25 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.

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

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

25 years agoAdd note about stabality of -devel.
Kurt Zeilenga [Wed, 4 Nov 1998 19:05:38 +0000 (19:05 +0000)]
Add note about stabality of -devel.

25 years ago8-bit memcmp()
Kurt Zeilenga [Wed, 4 Nov 1998 18:47:15 +0000 (18:47 +0000)]
8-bit memcmp()

25 years agoFix DCE detection.
Kurt Zeilenga [Wed, 4 Nov 1998 17:35:18 +0000 (17:35 +0000)]
Fix DCE detection.

25 years agoFixed assignment bugs from Hallvard.
Kurt Zeilenga [Wed, 4 Nov 1998 16:36:04 +0000 (16:36 +0000)]
Fixed assignment bugs from Hallvard.

25 years agoSome gcc -W cleanup
Hallvard Furuseth [Wed, 4 Nov 1998 13:15:18 +0000 (13:15 +0000)]
Some gcc -W cleanup

25 years agoReplaced #ifdef'ed ldap_lderrno() call with ldap_get_option() call.
Kurt Zeilenga [Wed, 4 Nov 1998 01:44:41 +0000 (01:44 +0000)]
Replaced #ifdef'ed ldap_lderrno() call with ldap_get_option() call.

25 years agostruct ldap is now opaque to clients.
Kurt Zeilenga [Wed, 4 Nov 1998 01:41:00 +0000 (01:41 +0000)]
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.

25 years agoAdd setproctile to liblutil
Kurt Zeilenga [Wed, 4 Nov 1998 01:36:44 +0000 (01:36 +0000)]
Add setproctile to liblutil

25 years agoautoconf update
Kurt Zeilenga [Wed, 4 Nov 1998 01:35:21 +0000 (01:35 +0000)]
autoconf update

25 years agoFix install-local typo
Kurt Zeilenga [Tue, 3 Nov 1998 17:03:02 +0000 (17:03 +0000)]
Fix install-local typo

25 years agoAdd environment examples and hints.
Kurt Zeilenga [Tue, 3 Nov 1998 01:12:04 +0000 (01:12 +0000)]
Add environment examples and hints.