Kurt Zeilenga [Mon, 28 Dec 1998 23:43:04 +0000 (23:43 +0000)]
Fix schema check bug... actually charray needs to dup strings on
add/merge as we now free strings agressively. Improved debug
message to include name of missing required attribute and added
check for 'operational attributes'. This check should be used
everywhere we need to test for operational attributes (add/modify).
Also, enabled schema checking for tests (and fixed resulting
problems by adjusting oc.conf).
Kurt Zeilenga [Mon, 28 Dec 1998 00:44:15 +0000 (00:44 +0000)]
Improve readability of base output in debugging.
Also, output UNKNOWN_PREFIX ('?') instead of writing a nul character
when the attribute prefix is unknown.
Kurt Zeilenga [Thu, 24 Dec 1998 06:00:53 +0000 (06:00 +0000)]
getentry.c: LDAP_RES_SEARCH_REFERENCE changes after fixing loop initializer.
references.c: fix same bug here. need to implement parsing.
Still need to implement chasing in cldap.c/result.c
Randy Kunkee [Thu, 24 Dec 1998 01:31:40 +0000 (01:31 +0000)]
Fix line 62 of bprint.c "#elif" line with no expression.
Add check for to configure.in vsprintf, since HAVE_VSPRINTF is presumably
what was intended there. Finally, also protected a bunch of if test
expressions with double quotes, as they were producing illegal test
commands.
Kurt Zeilenga [Thu, 24 Dec 1998 01:16:22 +0000 (01:16 +0000)]
Apply patch to better behave under Solaris threads (thr).
Could still deadlock on the close(). A surrogate parent
should be used to create the children...
Kurt Zeilenga [Tue, 22 Dec 1998 19:08:27 +0000 (19:08 +0000)]
Update man pages based upon required use of ldap_memfree() instead of free()
replace 'malloced' with 'dynamically allocated'
State ldap_memfree(3) should be used instead of free()
Still need ldap_memfree(3) man page.
Kurt Zeilenga [Mon, 21 Dec 1998 23:08:06 +0000 (23:08 +0000)]
Still wasn't working exactly write on FreeBSD3. Need to
check for $OBJFORMAT and if not available set to output of
/usr/bin/objformat (if available). Otherwise assume not elf.
Kurt Zeilenga [Mon, 21 Dec 1998 17:45:47 +0000 (17:45 +0000)]
ITS#12 realBase was being freed before use. The offending free()
call has been removed and additional code added to properly free
realBase variable. Also fixed leaking of the matched variable.
Kurt Zeilenga [Mon, 21 Dec 1998 00:21:58 +0000 (00:21 +0000)]
LDAP C-API changes
struct friendly (Friendly) changed to ldap_friendly (LDAPFriendly)
ldap_friendly friend prefix changed to 'lf_' from 'f_'
removed mod_next field from LDAPMod (struct ldapmod)
modified slapd to use new LDAPModList (struct ldapmodlist) struct.
Added LDAPv3 result codes to ldap.h
Kurt Zeilenga [Sun, 20 Dec 1998 18:16:03 +0000 (18:16 +0000)]
Minor change to signal handler. Changed _shutdown flag to
type 'sig_atomic_t' and marked it volatile. Add detection to
configure to ensure sig_atomic_t and volatile are supported.
Kurt Zeilenga [Sat, 19 Dec 1998 01:27:20 +0000 (01:27 +0000)]
-lldap reentrantancy improvements from Bart Hartgers <A.Hartgers@phys.tue.nl>
including use of ctime_r, gethostby*_r, etc.. Also reworked ldap_sort_entries
to be reentrant.
Need to add code to properly set LDAP_API_FEATURE_THREAD_SAFE.
Kurt Zeilenga [Fri, 18 Dec 1998 21:54:06 +0000 (21:54 +0000)]
Fix ltconfig for FreeBSD 3 (elf detection was wrong).
Also fixed "empty translation unit" problem reported by
Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>
Kurt Zeilenga [Fri, 18 Dec 1998 18:06:30 +0000 (18:06 +0000)]
Patch cache_delete_entry_internal() as suggested by
Daniel Carroll <dan@mesa7.mesa.colorado.edu>
This patch ensures we try deleting the entry from both the
dntree and the idtree.
Kurt Spanier [Fri, 18 Dec 1998 12:28:47 +0000 (12:28 +0000)]
Initialization of Datum structures to zero by memset() before first use.
If Berkeley DB version 2.x is used as a slapd back-end a not-initialized
Datum structure will raise an EINVAL error in (DB)->put().