Commit Graph

928 Commits

Author SHA1 Message Date
Hallvard Furuseth
d59de0c50f Plug some memory leak 1998-12-27 04:19:57 +00:00
Hallvard Furuseth
4bb4499175 Plug some memory leaks 1998-12-27 03:55:57 +00:00
Hallvard Furuseth
0aafb7267a Plug memory leak 1998-12-27 03:11:13 +00:00
Hallvard Furuseth
521f6cfda9 Change overlapping strcpy( x, y )' to SAFEMEMCPY( x, y, strlen( y ) + 1 )' 1998-12-27 02:15:08 +00:00
Hallvard Furuseth
c3a692787c Change overlapping strcpy( x, y )' to SAFEMEMCPY( x, y, strlen( y ) + 1 )' 1998-12-27 02:00:08 +00:00
Kurt Zeilenga
1d718296b4 Needs ldap-int.h 1998-12-26 18:55:46 +00:00
Kurt Zeilenga
f08b68992b Apply NT fixes from Release Engineering. 1998-12-26 18:52:45 +00:00
Kurt Zeilenga
7443bb94fd Re-paragraphed intro. 1998-12-26 18:43:20 +00:00
Kurt Zeilenga
31056e2759 Add 'remove ldapconfig.h.edit' project. 1998-12-26 18:31:08 +00:00
Kurt Zeilenga
88d62b3b59 Update todo list with ldap_getfilter(3) project. 1998-12-26 18:29:10 +00:00
Kurt Zeilenga
972c821bbd A few minor updates in preparation for OpenLDAP 1.1.1. 1998-12-26 18:17:25 +00:00
Hallvard Furuseth
c89fab6acc Reset *modtail after freeing it, so it's not freed again 1998-12-26 09:55:09 +00:00
Hallvard Furuseth
aa3fa58f4c Plug memory leaks when ber input fails: Let ber_scanf & co set the
free the memory they have allocated, and set the arguments to NULL.
1998-12-26 09:05:57 +00:00
Kurt Zeilenga
138d76ecf4 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
1998-12-24 06:00:53 +00:00
Kurt Zeilenga
090b7ccca0 Backout previous entry... causes runaway ldapsearch. 1998-12-24 05:39:14 +00:00
Kurt Zeilenga
a4822cf328 Initial versions of functions to step through messages and references.
Fixed entry step through functions to check specifically fore entries.
1998-12-24 04:45:54 +00:00
Kurt Zeilenga
2eb55b91ff We'll put ldap_x_message() functions in messages.c
We'll put ldap_x_reference() functions in references.c
1998-12-24 04:41:27 +00:00
Kurt Zeilenga
578fae946b Add prototypes for C-API _ext routines (coming soon). 1998-12-24 03:55:41 +00:00
Randy Kunkee
a451ccc50b 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.
1998-12-24 01:31:40 +00:00
Kurt Zeilenga
9da13f321c 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...
1998-12-24 01:16:22 +00:00
Kurt Zeilenga
7fe153acaa Add LDAP_DEBUG_DEPRECIATED to enable warnings when 'depreciated'
interfaces are used.  Added comments to ldap_cdefs.h
1998-12-23 20:01:15 +00:00
Kurt Zeilenga
5193b84fea Add documentation projects.
Make bart the thread lead.
1998-12-23 19:50:29 +00:00
Kurt Zeilenga
bd6e10aea0 Fix --disable-debug compiling problems. New -llber (and -lldap when
implemented) logging requires LDAP_DEBUG_XXX levels always be defined.
1998-12-23 04:18:50 +00:00
Kurt Zeilenga
2f5ef0d1a8 Initial version of control free/dup functions. 1998-12-23 02:31:35 +00:00
Kurt Zeilenga
52d7a2d8b2 Add client/server control free/dup functions and
ldap_set/get_option support for controls.
1998-12-23 02:30:44 +00:00
Kurt Zeilenga
60f52adc86 Fix get/set error string bugs. 1998-12-23 00:42:38 +00:00
Kurt Zeilenga
586ffea884 Add DB2 projects to the list. 1998-12-22 21:01:31 +00:00
Kurt Zeilenga
ae709ca3e8 Clarify DB 2.3.16 requirement 1998-12-22 19:31:43 +00:00
Kurt Zeilenga
3a119bf1f7 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.
1998-12-22 19:08:27 +00:00
Kurt Zeilenga
32d9cc239c Add ldap_memfree() to the mix. 1998-12-22 18:42:02 +00:00
Kurt Zeilenga
e795f9168d Update main comment and remove unneeded <ac/time.h> inclusion. 1998-12-22 18:27:14 +00:00
Kurt Zeilenga
487aa911f0 Add rc=0 fix as suggested by Tobias Reber <t.reber@dkfz-heidelberg.de>
in ITS#17.
1998-12-22 17:04:34 +00:00
Dave Storey
13457efbbc Code cleanups. MD5 and SHA1 routines should be a little faster and easier to read. 1998-12-22 14:31:31 +00:00
Kurt Zeilenga
a64c2a3954 Allow LDAP session errno and error strings to be set. 1998-12-22 04:49:56 +00:00
Kurt Zeilenga
a36412440c Update error codes based upon draft-ietf-ldapext-ldap-c-api-01
Remove ldap_get_lderrno().
1998-12-22 04:45:14 +00:00
Kurt Zeilenga
2d39f617b8 Add LDAP_OPT_API_FEATURE_INFO to obtain feature info (ie: version)
at runtime.
1998-12-22 03:17:25 +00:00
Kurt Zeilenga
811cfab91f Move LDAPServer, LDAPConn, LDAPRequest, and LDAPCache
from ldap.h to ldap-int.
1998-12-22 02:39:24 +00:00
Kurt Zeilenga
4854edc6fa Add <ac/signal.h> back in to ease pain on some platforms. 1998-12-22 01:34:31 +00:00
Kurt Zeilenga
a3ac3be6a7 Added lber_get/set_option. Removed lber_debug/ldap_debug.
Updated other codes as needed.
1998-12-22 01:34:01 +00:00
Kurt Zeilenga
77cb308d5a 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.
1998-12-21 23:08:06 +00:00
Kurt Zeilenga
2ffb9ae30d 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.
1998-12-21 17:45:47 +00:00
Kurt Zeilenga
0c11b6bb63 Add new projects to replace completed (or near completed) ones.
Add references to http://www.OpenLDAP.org/devel/ pages.
1998-12-21 02:43:23 +00:00
Kurt Zeilenga
8dbbc93769 Gopher gw needs friendly fix. 1998-12-21 02:14:47 +00:00
Kurt Zeilenga
e5a5f44fb8 That second abandon should have been an extended. 1998-12-21 02:12:08 +00:00
Kurt Zeilenga
b1869acd5b Remove internal strings 1998-12-21 02:09:44 +00:00
Kurt Zeilenga
40d08ee8aa Add LDAP v3 protocol defines 1998-12-21 01:44:58 +00:00
Kurt Zeilenga
2d15a94d16 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
1998-12-21 00:21:58 +00:00
Kurt Zeilenga
5c6ad6c5b1 ldif'ize ldif library (ie: everything is now in the ldif_ namespace) 1998-12-20 22:28:33 +00:00
Kurt Zeilenga
362d6cbf2a Add configure code for setting LDAP_SYSLOG but actually use hardcoded
LDAP_SYSLOG in slap.h/slurp.h.
1998-12-20 21:56:44 +00:00
Kurt Zeilenga
c7d5811b78 more cleanup 1998-12-20 19:57:44 +00:00