]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Sun, 15 Nov 1998 06:55:20 +0000 (06:55 +0000)]
don't assume NULL is zero.
Kurt Zeilenga [Sun, 15 Nov 1998 06:54:30 +0000 (06:54 +0000)]
Use "generic" ac headers.
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.
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.
Kurt Zeilenga [Thu, 12 Nov 1998 23:28:47 +0000 (23:28 +0000)]
Eliminate #ifdef DOS
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
Kurt Zeilenga [Thu, 12 Nov 1998 23:19:16 +0000 (23:19 +0000)]
Modified UD as necessary to compile and link under NT.
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
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.
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.
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>
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.
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.
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.
Hallvard Furuseth [Wed, 11 Nov 1998 22:10:05 +0000 (22:10 +0000)]
Memory leaks: Values from 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.
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.
Hallvard Furuseth [Wed, 11 Nov 1998 16:35:58 +0000 (16:35 +0000)]
strlen() needed string.h.
Hallvard Furuseth [Wed, 11 Nov 1998 15:53:04 +0000 (15:53 +0000)]
Fix HAVE_PTHREAD_D4 -> HAVE_PTHREADS_D4
Hallvard Furuseth [Wed, 11 Nov 1998 15:42:22 +0000 (15:42 +0000)]
&deref_kv -> deref_kv; som compilers don't like &array
Kurt Zeilenga [Wed, 11 Nov 1998 05:50:51 +0000 (05:50 +0000)]
Update NT4 port.
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
Kurt Zeilenga [Wed, 11 Nov 1998 03:03:03 +0000 (03:03 +0000)]
Create feature file for NT build environment.
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.
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.
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.
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
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().
Kurt Zeilenga [Tue, 10 Nov 1998 20:27:47 +0000 (20:27 +0000)]
Update apitest with to toy with additional ldap options and extensions.
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.
Kurt Zeilenga [Mon, 9 Nov 1998 23:21:38 +0000 (23:21 +0000)]
Add support for runtime determination of API extensions.
Kurt Zeilenga [Mon, 9 Nov 1998 23:02:27 +0000 (23:02 +0000)]
Initialize openldap_ldap_global_options struct (not yet used).
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.
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.
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
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.
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).
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.
Hallvard Furuseth [Sun, 8 Nov 1998 05:01:17 +0000 (05:01 +0000)]
Removed bad LDAP* argument to disambiguate()
Hallvard Furuseth [Sun, 8 Nov 1998 04:59:11 +0000 (04:59 +0000)]
Undo last change (I commited the wrong version)
Hallvard Furuseth [Sun, 8 Nov 1998 03:01:51 +0000 (03:01 +0000)]
ld could be used uninitialized
Hallvard Furuseth [Sun, 8 Nov 1998 02:56:47 +0000 (02:56 +0000)]
ber_scanf() returns unsigned long, not int
Hallvard Furuseth [Sun, 8 Nov 1998 02:31:31 +0000 (02:31 +0000)]
dtest.c needed lber-int.h (struct berelement)
Hallvard Furuseth [Sun, 8 Nov 1998 02:08:18 +0000 (02:08 +0000)]
missing 2nd argument to faxtotpc()
Hallvard Furuseth [Sun, 8 Nov 1998 01:16:36 +0000 (01:16 +0000)]
Removed bad LDAP* argument to disambiguate()
Kurt Zeilenga [Sun, 8 Nov 1998 01:11:09 +0000 (01:11 +0000)]
Fix LDAP_DNS code to use LDAP_BOOL_GET
Kurt Zeilenga [Sun, 8 Nov 1998 00:47:07 +0000 (00:47 +0000)]
loginfo test...
Kurt Zeilenga [Sun, 8 Nov 1998 00:44:17 +0000 (00:44 +0000)]
Test new loginfo, only added a comment.
Kurt Zeilenga [Sun, 8 Nov 1998 00:40:40 +0000 (00:40 +0000)]
Added comment to test new loginfo commands.
Kurt Zeilenga [Sun, 8 Nov 1998 00:26:20 +0000 (00:26 +0000)]
Add additional LDAPD/ISODE checks
Kurt Zeilenga [Sat, 7 Nov 1998 17:14:35 +0000 (17:14 +0000)]
Fix LDBM_SYNC typo
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.
Kurt Zeilenga [Sat, 7 Nov 1998 00:33:02 +0000 (00:33 +0000)]
Fix detach.c typo in OBJS
Kurt Zeilenga [Fri, 6 Nov 1998 22:04:14 +0000 (22:04 +0000)]
Add lutil_passwd()
Kurt Zeilenga [Fri, 6 Nov 1998 22:03:15 +0000 (22:03 +0000)]
Should include lutil.h to get it's own prototype.
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.
Kurt Zeilenga [Fri, 6 Nov 1998 20:43:19 +0000 (20:43 +0000)]
missing newlines bugfix from Dan.
Kurt Zeilenga [Fri, 6 Nov 1998 20:40:47 +0000 (20:40 +0000)]
j_sanchez@stl.es
Kurt Zeilenga [Fri, 6 Nov 1998 20:39:22 +0000 (20:39 +0000)]
mail500 changes from wesley.craig@umich.edu
Kurt Zeilenga [Fri, 6 Nov 1998 02:04:07 +0000 (02:04 +0000)]
MSVC5 does like -1UL... replaced with (unsigned long) -1L
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.
Kurt Zeilenga [Fri, 6 Nov 1998 01:03:14 +0000 (01:03 +0000)]
Generic variable argument header. Hides ugly ifdef.
Kurt Zeilenga [Thu, 5 Nov 1998 22:08:43 +0000 (22:08 +0000)]
Use TOUPPER macro.
Kurt Zeilenga [Thu, 5 Nov 1998 21:56:08 +0000 (21:56 +0000)]
Fix datum typo.
Kurt Zeilenga [Thu, 5 Nov 1998 19:39:26 +0000 (19:39 +0000)]
Updated to 1.8
Kurt Zeilenga [Thu, 5 Nov 1998 19:33:54 +0000 (19:33 +0000)]
Update version numbers.
Hallvard Furuseth [Thu, 5 Nov 1998 08:03:48 +0000 (08:03 +0000)]
Some gcc -W... cleanup
Hallvard Furuseth [Thu, 5 Nov 1998 07:31:40 +0000 (07:31 +0000)]
Some gcc -W... cleanup
Hallvard Furuseth [Thu, 5 Nov 1998 06:49:49 +0000 (06:49 +0000)]
Some gcc -W... cleanup
Kurt Zeilenga [Thu, 5 Nov 1998 06:18:06 +0000 (06:18 +0000)]
add exit, check commitlogs
Kurt Zeilenga [Thu, 5 Nov 1998 06:16:11 +0000 (06:16 +0000)]
Simple test to verify commitlog fix.
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.
Hallvard Furuseth [Thu, 5 Nov 1998 06:05:52 +0000 (06:05 +0000)]
Some gcc -W... cleanup
Hallvard Furuseth [Thu, 5 Nov 1998 05:47:02 +0000 (05:47 +0000)]
Some gcc -W... cleanup
Hallvard Furuseth [Thu, 5 Nov 1998 05:06:51 +0000 (05:06 +0000)]
Prototype vs. K&R mismatch
Hallvard Furuseth [Thu, 5 Nov 1998 05:05:05 +0000 (05:05 +0000)]
Get struct sockaddr for slap.h
Hallvard Furuseth [Thu, 5 Nov 1998 05:03:12 +0000 (05:03 +0000)]
Enclose debug variables in #ifdef LDAP_DEBUG
Hallvard Furuseth [Thu, 5 Nov 1998 04:58:52 +0000 (04:58 +0000)]
Typo when !LDAP_REFERRALS
Kurt Zeilenga [Thu, 5 Nov 1998 03:06:12 +0000 (03:06 +0000)]
Needed -llutil before @LUTIL_LIBS@
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.
Kurt Zeilenga [Thu, 5 Nov 1998 02:48:41 +0000 (02:48 +0000)]
Add descriptive comment at top.
Hallvard Furuseth [Thu, 5 Nov 1998 02:46:29 +0000 (02:46 +0000)]
Avoid f_next name conflict
Hallvard Furuseth [Thu, 5 Nov 1998 01:56:41 +0000 (01:56 +0000)]
replace detach.c with lutil_detach()
Hallvard Furuseth [Thu, 5 Nov 1998 01:30:02 +0000 (01:30 +0000)]
replace detach.c with lutil_detach()
Hallvard Furuseth [Thu, 5 Nov 1998 01:22:42 +0000 (01:22 +0000)]
Added lutil_detach()
Hallvard Furuseth [Thu, 5 Nov 1998 00:40:04 +0000 (00:40 +0000)]
Added ldap_explode_rdn()
Kurt Zeilenga [Thu, 5 Nov 1998 00:37:46 +0000 (00:37 +0000)]
Needs LUTIL_LIBS
Kurt Zeilenga [Thu, 5 Nov 1998 00:09:41 +0000 (00:09 +0000)]
Favor termios over sgtty.
Hallvard Furuseth [Wed, 4 Nov 1998 23:51:31 +0000 (23:51 +0000)]
Added ldap_msgtype() and ldap_msgid()
Kurt Zeilenga [Wed, 4 Nov 1998 23:29:52 +0000 (23:29 +0000)]
Add tests for vsnprintf and snprintf.
Hallvard Furuseth [Wed, 4 Nov 1998 23:28:51 +0000 (23:28 +0000)]
Added ldap_explode_rdn()
Kurt Zeilenga [Wed, 4 Nov 1998 23:25:56 +0000 (23:25 +0000)]
Make sure vsnprintf() exists before using it. Add fallbacks.
Hallvard Furuseth [Wed, 4 Nov 1998 23:05:02 +0000 (23:05 +0000)]
Added lutil_detach()
Kurt Zeilenga [Wed, 4 Nov 1998 22:32:18 +0000 (22:32 +0000)]
HAVE_LWP_THR was renamed HAVE_THR.
Kurt Zeilenga [Wed, 4 Nov 1998 20:20:34 +0000 (20:20 +0000)]
Update to 2.0-devel
Kurt Zeilenga [Wed, 4 Nov 1998 20:10:51 +0000 (20:10 +0000)]
Add CPP check.
Kurt Zeilenga [Wed, 4 Nov 1998 20:09:57 +0000 (20:09 +0000)]
Add additional defines to allow more compile time API checks.
Kurt Zeilenga [Wed, 4 Nov 1998 20:09:25 +0000 (20:09 +0000)]
Add apitest to build.
Kurt Zeilenga [Wed, 4 Nov 1998 20:09:07 +0000 (20:09 +0000)]
API test for checking draft API issues.
Kurt Zeilenga [Wed, 4 Nov 1998 20:08:37 +0000 (20:08 +0000)]
Update options.c to use new defines.