]> git.sur5r.net Git - openldap/log
openldap
25 years agoImproved ldap_int_strtok. If strtok_r does not exists, it will be worked
Bart Hartgers [Thu, 14 Jan 1999 15:19:29 +0000 (15:19 +0000)]
Improved ldap_int_strtok. If strtok_r does not exists, it will be worked
simulated with strspn and strpbrk. If strspn or strpbrk aren't there, they
will be supplied.
In addition, the memory-handling of the ldap_int_gethostby's is better now.

25 years agoInitial version of the experimental 'back-perl'
Kurt Zeilenga [Thu, 14 Jan 1999 06:33:09 +0000 (06:33 +0000)]
Initial version of the experimental 'back-perl'
John's still working on the 'perl-test' (the perl backend test module).

25 years agoInsert missing ')'...
Kurt Zeilenga [Thu, 14 Jan 1999 06:28:50 +0000 (06:28 +0000)]
Insert missing ')'...

25 years agoFix variable names in res_search check.
Kurt Zeilenga [Thu, 14 Jan 1999 03:14:46 +0000 (03:14 +0000)]
Fix variable names in res_search check.

25 years agoProtect some tests with quotes.
Randy Kunkee [Thu, 14 Jan 1999 02:58:56 +0000 (02:58 +0000)]
Protect some tests with quotes.

25 years agoModify build order to have lutil first and lthread last (libldap_r
Kurt Zeilenga [Thu, 14 Jan 1999 01:38:32 +0000 (01:38 +0000)]
Modify build order to have lutil first and lthread last (libldap_r
will eventually be very last).  Add lthread/lutil to libldap_r test
program linkage.

25 years agoRevamp build system yet again to move all external libraries to
Kurt Zeilenga [Thu, 14 Jan 1999 01:31:43 +0000 (01:31 +0000)]
Revamp build system yet again to move all external libraries to
end of link.    Basic order is:
$LDFLAGS internal-libs external-libs $LIBS $LTHREAD_LIBS

LTHREAD_LIBS is last as -lpthread (or equiv) must be last on many systems.
LIBS is next to last as some user might have put -lpthread (or equiv)
in $LIBS.

25 years ago-lldif must proceed -lldap in 1.1 (for ldap_debug).
Kurt Zeilenga [Thu, 14 Jan 1999 00:24:15 +0000 (00:24 +0000)]
-lldif must proceed -lldap in 1.1 (for ldap_debug).
Might as well keep link order consistent between -devel and 1.1

25 years agoBe quite about deleting data symlink
Kurt Zeilenga [Wed, 13 Jan 1999 23:38:01 +0000 (23:38 +0000)]
Be quite about deleting data symlink

25 years agoRemove bogus ldap_msgfree() call.
Kurt Zeilenga [Wed, 13 Jan 1999 18:20:33 +0000 (18:20 +0000)]
Remove bogus ldap_msgfree() call.

25 years agoFix up a few typos and add some minor cleanup.
Kurt Zeilenga [Wed, 13 Jan 1999 06:05:10 +0000 (06:05 +0000)]
Fix up a few typos and add some minor cleanup.

25 years agoAdd normalized dn to Entry structure as field e_ndn. Entry
Kurt Zeilenga [Wed, 13 Jan 1999 01:17:22 +0000 (01:17 +0000)]
Add normalized dn to Entry structure as field e_ndn.  Entry
creation codes to provide this field.  Update cache_entrydn_cmp
to strcasecmp() the e_ndn instead of e_dn.  Note: strcasecmp()
is still used as e_ndn isn't in uppercase.  Maybe it should
be.  Did not update other codes to use e_ndn.  Hence, there
are lots of dn_normalize() calls that could be eliminated.
(The case determination of e_ndn should be made first).

25 years agoUpdate check for res_search. If not available in $LIBS, check
Kurt Zeilenga [Wed, 13 Jan 1999 01:11:28 +0000 (01:11 +0000)]
Update check for res_search.  If not available in $LIBS, check
in -lbind then in -lresolv.

25 years agoAdded back-passwd item with reference to ITS.
Kurt Zeilenga [Wed, 13 Jan 1999 00:47:32 +0000 (00:47 +0000)]
Added back-passwd item with reference to ITS.
Probably should detail each of these items with an ITS...

25 years agoReport status of failed pthread_create()
Kurt Zeilenga [Tue, 12 Jan 1999 23:57:21 +0000 (23:57 +0000)]
Report status of failed pthread_create()

25 years agoReport exit status of pthread_create()
Kurt Zeilenga [Tue, 12 Jan 1999 23:52:50 +0000 (23:52 +0000)]
Report exit status of pthread_create()

25 years agoNew description for use of Bereley DB 2.x on a Linux platform.
Kurt Spanier [Tue, 12 Jan 1999 14:15:35 +0000 (14:15 +0000)]
New description for use of Bereley DB 2.x on a Linux platform.

25 years agoUse pthread_detach() to detach connection threads instead of
Kurt Zeilenga [Mon, 11 Jan 1999 19:04:34 +0000 (19:04 +0000)]
Use pthread_detach() to detach connection threads instead of
creating them detached.  This hopefully will reduce problems on
draft4 pthread implementations related to creating detached
threads (which is _np under draft4) on some platforms without
causing problems with other thread implementations.

25 years agoChange SLAPD shutdown to do a cond wait on active threads instead
Kurt Zeilenga [Mon, 11 Jan 1999 18:36:40 +0000 (18:36 +0000)]
Change SLAPD shutdown to do a cond wait on active threads instead
of a busy wait and allow the pthread_yield within the loop to be
removed.  This was the only pthread_yield which was necessary
when usng non-preemptive threads.  As such, the configure.in
sched_yield/pthread_yield missing error can be removed from
configure.in.  If explicit yield function is missing, just provide
a no-op replacement.
Moved declaration of various slapd globals from main.c to init.c
so they can be shared with ldbm tools.

25 years agoUpdate build environment to fix VPATH support.
Kurt Zeilenga [Sun, 10 Jan 1999 02:25:41 +0000 (02:25 +0000)]
Update build environment to fix VPATH support.
  make depend, make tests, and make install all work when build directory
  is not the $srcdir.
Also modified library handling such that -lpthread more likely to be last.
WARNING: new orderring requires use of LDFLAGS to set global loader options
  such as -L/usr/local/lib.  If you put this in LIBS, some libraries
  may not be found a link time.
Likely broke Kerberos/LDAPD support.  Don't have those in my testbed.

25 years agorename 'struct op' to 'struct slap_op'
Kurt Zeilenga [Sun, 10 Jan 1999 02:16:48 +0000 (02:16 +0000)]
rename 'struct op' to 'struct slap_op'
rename 'struct conn' to 'struct slap_conn'
rename op_function to slap_op_func for functions add/delete/free
This change is need to avoid clashing with perl internals.

25 years agoAdd distclean target
Kurt Zeilenga [Sat, 9 Jan 1999 02:12:09 +0000 (02:12 +0000)]
Add distclean target

25 years agoCleanup slapd search op deallocation.
Kurt Zeilenga [Fri, 8 Jan 1999 21:48:09 +0000 (21:48 +0000)]
Cleanup slapd search op deallocation.

25 years agoFix tmp file removal.
Kurt Zeilenga [Fri, 8 Jan 1999 19:51:15 +0000 (19:51 +0000)]
Fix tmp file removal.

25 years agoTiny fix to the description of the -l option.
Kurt Spanier [Fri, 8 Jan 1999 10:09:07 +0000 (10:09 +0000)]
Tiny fix to the description of the -l option.

25 years agoDescription of the '-l syslog-local-user' option in the slapd manpage;
Kurt Spanier [Fri, 8 Jan 1999 09:59:09 +0000 (09:59 +0000)]
Description of the '-l syslog-local-user' option in the slapd manpage;
also description of .pid and .args files.

25 years agoUpdated SLAPD args/pid file codes to use DEFAULT_RUNDIR and DEFAULT_DIRSEP.
Kurt Zeilenga [Thu, 7 Jan 1999 18:16:40 +0000 (18:16 +0000)]
Updated SLAPD args/pid file codes to use DEFAULT_RUNDIR and DEFAULT_DIRSEP.
Removed old defines.

25 years agoBackout extraneous changes made by last commit.
Kurt Zeilenga [Thu, 7 Jan 1999 17:51:23 +0000 (17:51 +0000)]
Backout extraneous changes made by last commit.

25 years agoFix --disable-slurpd.
Kurt Zeilenga [Thu, 7 Jan 1999 17:29:39 +0000 (17:29 +0000)]
Fix --disable-slurpd.

25 years agoRe-specification of the DB patch.
Kurt Spanier [Thu, 7 Jan 1999 14:38:01 +0000 (14:38 +0000)]
Re-specification of the DB patch.

25 years agoSpecification of the platform, that caused the problem.
Kurt Spanier [Thu, 7 Jan 1999 14:27:37 +0000 (14:27 +0000)]
Specification of the platform, that caused the problem.

25 years agoApply fix suggested by Ben Collins <bmc@visi.net>
Kurt Zeilenga [Thu, 7 Jan 1999 05:47:25 +0000 (05:47 +0000)]
Apply fix suggested by Ben Collins <bmc@visi.net>
pass STRING_UNKNOWN if !client_name
pass STRING_UNKNOWN if !client_addr

25 years agoWrap db2 mutex with -DHAVE_BERKELEY_DB2 (should be hidden in -lldbm) ITS#35
Kurt Zeilenga [Thu, 7 Jan 1999 03:28:08 +0000 (03:28 +0000)]
Wrap db2 mutex with -DHAVE_BERKELEY_DB2 (should be hidden in -lldbm) ITS#35
Unwrap ldbm_datum_init()

25 years agoModify Add/Delete/Modrdn operations to require write perms on
Kurt Zeilenga [Thu, 7 Jan 1999 02:51:08 +0000 (02:51 +0000)]
Modify Add/Delete/Modrdn operations to require write perms on
parent's "children" attribute.  Write lock parent to prevent
multiple clients making conflicting operations concurrently.
If parent doesn't exist (ie: is backend root), acquire a writer
lock (a simple mutex) on the "root."
Use -DSLAPD_CHILD_MODIFICATION_WITH_ENTRY_ACL to use the child's
"entry" acl for modrdn/delete operations.

25 years agoUse MAXARGS... we should actually check for limits.h's ARG_MAX and
Kurt Zeilenga [Wed, 6 Jan 1999 20:27:27 +0000 (20:27 +0000)]
Use MAXARGS... we should actually check for limits.h's ARG_MAX and
use this everywhere... but that's for another day.

25 years ago- Make install creates $(RUNDIR)/var for pid and args files of slapd.
Kurt Spanier [Tue, 5 Jan 1999 15:40:58 +0000 (15:40 +0000)]
- Make install creates $(RUNDIR)/var for pid and args files of slapd.
- slapd's pid/args file names are based on the servers binary file names,
  providing for multiple servers beeing run on one host.
- slapd supports the -l command line parameter for selection of a
  syslog LOCAL user (-lLOCAL0 .. -lLOCAL7)
- db_appinit() is called during first ldbm_open() in DB 2.x to initialize
  DB debugging features (good to find bugs in the DB code :-)
- a patch for a non-initialized variable in DB's 2.x db_open is provided.

25 years agoentry pointer 'p' must be initialized. Should fix ITS#31.
Kurt Zeilenga [Sun, 3 Jan 1999 22:55:43 +0000 (22:55 +0000)]
entry pointer 'p' must be initialized.  Should fix ITS#31.

25 years agoUpdate ctime_r() argument macro to cache results and to produce
Kurt Zeilenga [Sat, 2 Jan 1999 23:40:31 +0000 (23:40 +0000)]
Update ctime_r() argument macro to cache results and to produce
one preprocessor macro instead of two.  Ran aclocal, autoconf,
autoheader to update derived files.  Modify util-int.c to use
CTIME_R_NARGS define and fallback to ctime() if not set.
Made LDAP_API_FEATURE_X_OPENLDAP_REENTRANT dependent upon result.

25 years agoEnable dbcachenoWsync for replica.
Kurt Zeilenga [Sat, 2 Jan 1999 23:29:06 +0000 (23:29 +0000)]
Enable dbcachenoWsync for replica.

25 years agoMore pidentd/tcp_wrappers projects to do.
Kurt Zeilenga [Sat, 2 Jan 1999 23:28:18 +0000 (23:28 +0000)]
More pidentd/tcp_wrappers projects to do.

25 years agoMoved the ctime_r number of arguments check to the right file.
Bart Hartgers [Sat, 2 Jan 1999 21:54:58 +0000 (21:54 +0000)]
Moved the ctime_r number of arguments check to the right file.

25 years agoTeached autoconf to figure out how may arguments ctime_r expects.
Bart Hartgers [Sat, 2 Jan 1999 00:56:45 +0000 (00:56 +0000)]
Teached autoconf to figure out how may arguments ctime_r expects.
Updated util-int.c to use this information.

25 years agofix minor reinstall bug: INSTALLDIR -> MANDIR
Kurt Zeilenga [Fri, 1 Jan 1999 20:47:56 +0000 (20:47 +0000)]
fix minor reinstall bug:  INSTALLDIR -> MANDIR

25 years agoWrap strtok use with mutex.
Kurt Zeilenga [Fri, 1 Jan 1999 20:43:29 +0000 (20:43 +0000)]
Wrap strtok use with mutex.

25 years agoWrap strtok use with mutex.
Kurt Zeilenga [Fri, 1 Jan 1999 20:22:56 +0000 (20:22 +0000)]
Wrap strtok use with mutex.

25 years agoFix typo in dbcachenowsync description.
Kurt Zeilenga [Wed, 30 Dec 1998 20:15:14 +0000 (20:15 +0000)]
Fix typo in dbcachenowsync description.

25 years agoFix minor formatting problem (missing .TP) with dbcachenowsync description.
Kurt Zeilenga [Wed, 30 Dec 1998 19:58:31 +0000 (19:58 +0000)]
Fix minor formatting problem (missing .TP) with dbcachenowsync description.

25 years agoAdd special check for pthreads under HP-UX (as last resort).
Kurt Zeilenga [Wed, 30 Dec 1998 19:46:39 +0000 (19:46 +0000)]
Add special check for pthreads under HP-UX (as last resort).

25 years agoUpdate todo...
Kurt Zeilenga [Wed, 30 Dec 1998 05:40:01 +0000 (05:40 +0000)]
Update todo...

25 years agoAdded salted MD5 and SHA support. (SSHA,SMD5)
Dave Storey [Wed, 30 Dec 1998 05:32:17 +0000 (05:32 +0000)]
Added salted MD5 and SHA support. (SSHA,SMD5)

25 years agoI thought the bdn was normalized already... guess not.
Kurt Zeilenga [Wed, 30 Dec 1998 05:21:40 +0000 (05:21 +0000)]
I thought the bdn was normalized already... guess not.

25 years agoPreliminary Fixes for ITS#24, ITS#26, and ldbm_back_add race condition.
Kurt Zeilenga [Wed, 30 Dec 1998 03:35:23 +0000 (03:35 +0000)]
Preliminary Fixes for ITS#24, ITS#26, and ldbm_back_add race condition.
Resolved deadlock by passing target entry to be_group and using
this if dn same as bdn.  It might actually be safer to check
entry ids instead of dns.
Resolved bogus add to cache after failed acl check by deferring
cache add until after parent/acl checks have successful been
completed.
Eliminated race condition caused by concurrent adds
of same dn by adding 'li_add_mutex' around the critical section
of code (most of ldbm_back_add).
This code is preliminary and still needs significant testing.

25 years agoCleanup thread handling to resolve non-exiting daemons on FreeBSD.
Kurt Zeilenga [Wed, 30 Dec 1998 00:06:27 +0000 (00:06 +0000)]
Cleanup thread handling to resolve non-exiting daemons on FreeBSD.
Seems that calling pthread_exit() in the main (and only active)
thread does not cause the whole process to exit.  Very odd.
Anyways, as we want to whole process to exit, we should just exit
after joining with our other threads.
I've also removed dead code for detaching threads we join with.

25 years agoUse charray_free to free alist charray
Kurt Zeilenga [Tue, 29 Dec 1998 23:23:21 +0000 (23:23 +0000)]
Use charray_free to free alist charray

25 years agoFix --disable-crypt and --disable-cleartext
Kurt Zeilenga [Tue, 29 Dec 1998 21:45:08 +0000 (21:45 +0000)]
Fix --disable-crypt and --disable-cleartext
mutex declaration should be moved from slapd/main.c to slapd/init.c
so we don't have ripple changes through slapd/tools.

25 years agoPatch for Berkeley DB 2.6.4 (beta) (DB)->cursor() call.
Kurt Spanier [Tue, 29 Dec 1998 17:28:45 +0000 (17:28 +0000)]
Patch for Berkeley DB 2.6.4 (beta) (DB)->cursor() call.
Introduction of ldbm_datum_init().
Patch for non-NULL pointer test befor call to ldbm_datum_free().

25 years agoSet 'expected' defaults
Kurt Zeilenga [Tue, 29 Dec 1998 05:52:27 +0000 (05:52 +0000)]
Set 'expected' defaults

25 years agoShould have left 'scope' alone.
Kurt Zeilenga [Tue, 29 Dec 1998 05:44:18 +0000 (05:44 +0000)]
Should have left 'scope' alone.

25 years agoMake ldap_set_option options optional.
Kurt Zeilenga [Tue, 29 Dec 1998 05:33:34 +0000 (05:33 +0000)]
Make ldap_set_option options optional.

25 years agoFix schema check bug... actually charray needs to dup strings on
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).

25 years agoAdd simple copyright notice.
Kurt Zeilenga [Mon, 28 Dec 1998 20:53:15 +0000 (20:53 +0000)]
Add simple copyright notice.

25 years agoMinor update to copyright (forgot 'portions')
Kurt Zeilenga [Mon, 28 Dec 1998 20:46:13 +0000 (20:46 +0000)]
Minor update to copyright (forgot 'portions')

25 years agoAdd simple copyright notice
Kurt Zeilenga [Mon, 28 Dec 1998 20:38:04 +0000 (20:38 +0000)]
Add simple copyright notice

25 years agoAdd simple copyright notice.
Kurt Zeilenga [Mon, 28 Dec 1998 20:11:23 +0000 (20:11 +0000)]
Add simple copyright notice.

25 years agoUpdate copyright notices to 1999.
Kurt Zeilenga [Mon, 28 Dec 1998 20:08:17 +0000 (20:08 +0000)]
Update copyright notices to 1999.

25 years agoUpdate copyright notices for 1999.
Kurt Zeilenga [Mon, 28 Dec 1998 19:58:57 +0000 (19:58 +0000)]
Update copyright notices for 1999.

25 years agoAdd OpenLDAP Copyright to headers
Kurt Zeilenga [Mon, 28 Dec 1998 19:51:35 +0000 (19:51 +0000)]
Add OpenLDAP Copyright to headers

25 years agoAdd more C-API prototypes (not yet implemented).
Kurt Zeilenga [Mon, 28 Dec 1998 19:37:02 +0000 (19:37 +0000)]
Add more C-API prototypes (not yet implemented).

25 years agoAdd 1999 to COPYRIGHT.
Kurt Zeilenga [Mon, 28 Dec 1998 19:24:35 +0000 (19:24 +0000)]
Add 1999 to COPYRIGHT.

25 years agomatched needs to be initialized to NULL as we may never
Kurt Zeilenga [Mon, 28 Dec 1998 16:41:39 +0000 (16:41 +0000)]
matched needs to be initialized to NULL as we may never
make it to dn2entry_r().

25 years agoImprove readability of base output in debugging.
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.

25 years agoPlug 'matched' memory leak in dn2entry()
Kurt Zeilenga [Mon, 28 Dec 1998 00:39:50 +0000 (00:39 +0000)]
Plug 'matched' memory leak in dn2entry()

25 years agoPlug addtional realBase memory leaks.
Kurt Zeilenga [Sun, 27 Dec 1998 23:23:09 +0000 (23:23 +0000)]
Plug addtional realBase memory leaks.

25 years agoAdded ldap_get_entry_contols() and ldap_parse_reference(), but
Kurt Zeilenga [Sun, 27 Dec 1998 21:59:12 +0000 (21:59 +0000)]
Added ldap_get_entry_contols() and ldap_parse_reference(), but
have not implemented ldap_get_ber_controls() helper function yet.

25 years agoOnly use the LDAP_ALLOW_NULL_SEARCH_BASE code as last resort. Moved
Kurt Zeilenga [Sun, 27 Dec 1998 20:57:30 +0000 (20:57 +0000)]
Only use the LDAP_ALLOW_NULL_SEARCH_BASE code as last resort.  Moved
to after other suffix checks.

25 years agoAdd support for -P protocol_version.
Dave Storey [Sun, 27 Dec 1998 14:08:46 +0000 (14:08 +0000)]
Add support for -P protocol_version.

25 years agoDon't use initializers for auto arrays
Hallvard Furuseth [Sun, 27 Dec 1998 09:04:06 +0000 (09:04 +0000)]
Don't use initializers for auto arrays

25 years agoRemove duplicate definitions of global_schemacheck and global_oc
Hallvard Furuseth [Sun, 27 Dec 1998 08:59:38 +0000 (08:59 +0000)]
Remove duplicate definitions of global_schemacheck and global_oc

25 years agoChange overlapping `strcpy( x, y )' to `SAFEMEMCPY( x, y, strlen( y ) + 1 )'
Hallvard Furuseth [Sun, 27 Dec 1998 06:29:45 +0000 (06:29 +0000)]
Change overlapping `strcpy( x, y )' to `SAFEMEMCPY( x, y, strlen( y ) + 1 )'

25 years agoPlug some memory leak
Hallvard Furuseth [Sun, 27 Dec 1998 04:19:57 +0000 (04:19 +0000)]
Plug some memory leak

25 years agoPlug some memory leaks
Hallvard Furuseth [Sun, 27 Dec 1998 03:55:57 +0000 (03:55 +0000)]
Plug some memory leaks

25 years agoPlug memory leak
Hallvard Furuseth [Sun, 27 Dec 1998 03:11:13 +0000 (03:11 +0000)]
Plug memory leak

25 years agoChange overlapping `strcpy( x, y )' to `SAFEMEMCPY( x, y, strlen( y ) + 1 )'
Hallvard Furuseth [Sun, 27 Dec 1998 02:15:08 +0000 (02:15 +0000)]
Change overlapping `strcpy( x, y )' to `SAFEMEMCPY( x, y, strlen( y ) + 1 )'

25 years agoChange overlapping `strcpy( x, y )' to `SAFEMEMCPY( x, y, strlen( y ) + 1 )'
Hallvard Furuseth [Sun, 27 Dec 1998 02:00:08 +0000 (02:00 +0000)]
Change overlapping `strcpy( x, y )' to `SAFEMEMCPY( x, y, strlen( y ) + 1 )'

25 years agoNeeds ldap-int.h
Kurt Zeilenga [Sat, 26 Dec 1998 18:55:46 +0000 (18:55 +0000)]
Needs ldap-int.h

25 years agoApply NT fixes from Release Engineering.
Kurt Zeilenga [Sat, 26 Dec 1998 18:52:45 +0000 (18:52 +0000)]
Apply NT fixes from Release Engineering.

25 years agoRe-paragraphed intro.
Kurt Zeilenga [Sat, 26 Dec 1998 18:43:20 +0000 (18:43 +0000)]
Re-paragraphed intro.

25 years agoAdd 'remove ldapconfig.h.edit' project.
Kurt Zeilenga [Sat, 26 Dec 1998 18:31:08 +0000 (18:31 +0000)]
Add 'remove ldapconfig.h.edit' project.

25 years agoUpdate todo list with ldap_getfilter(3) project.
Kurt Zeilenga [Sat, 26 Dec 1998 18:29:10 +0000 (18:29 +0000)]
Update todo list with ldap_getfilter(3) project.

25 years agoA few minor updates in preparation for OpenLDAP 1.1.1.
Kurt Zeilenga [Sat, 26 Dec 1998 18:17:25 +0000 (18:17 +0000)]
A few minor updates in preparation for OpenLDAP 1.1.1.

25 years agoReset *modtail after freeing it, so it's not freed again
Hallvard Furuseth [Sat, 26 Dec 1998 09:55:09 +0000 (09:55 +0000)]
Reset *modtail after freeing it, so it's not freed again

25 years agoPlug memory leaks when ber input fails: Let ber_scanf & co set the
Hallvard Furuseth [Sat, 26 Dec 1998 09:05:57 +0000 (09:05 +0000)]
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.

25 years agogetentry.c: LDAP_RES_SEARCH_REFERENCE changes after fixing loop initializer.
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

25 years agoBackout previous entry... causes runaway ldapsearch.
Kurt Zeilenga [Thu, 24 Dec 1998 05:39:14 +0000 (05:39 +0000)]
Backout previous entry... causes runaway ldapsearch.

25 years agoInitial versions of functions to step through messages and references.
Kurt Zeilenga [Thu, 24 Dec 1998 04:45:54 +0000 (04:45 +0000)]
Initial versions of functions to step through messages and references.
Fixed entry step through functions to check specifically fore entries.

25 years agoWe'll put ldap_x_message() functions in messages.c
Kurt Zeilenga [Thu, 24 Dec 1998 04:41:27 +0000 (04:41 +0000)]
We'll put ldap_x_message() functions in messages.c
We'll put ldap_x_reference() functions in references.c

25 years agoAdd prototypes for C-API _ext routines (coming soon).
Kurt Zeilenga [Thu, 24 Dec 1998 03:55:41 +0000 (03:55 +0000)]
Add prototypes for C-API _ext routines (coming soon).

25 years agoFix line 62 of bprint.c "#elif" line with no expression.
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.

25 years agoApply patch to better behave under Solaris threads (thr).
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...

25 years agoAdd LDAP_DEBUG_DEPRECIATED to enable warnings when 'depreciated'
Kurt Zeilenga [Wed, 23 Dec 1998 20:01:15 +0000 (20:01 +0000)]
Add LDAP_DEBUG_DEPRECIATED to enable warnings when 'depreciated'
interfaces are used.  Added comments to ldap_cdefs.h