]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Sat, 10 Apr 1999 01:34:55 +0000 (01:34 +0000)]
Apply fix to "group/group_objectclass/member_atribute" parsing
suggested by Gerrit Thomson
Kurt Zeilenga [Fri, 9 Apr 1999 18:33:52 +0000 (18:33 +0000)]
Streamline code during finds to reduce contention on c_mutex.
Move Debug messages outside of c_mutex. Other LDBM cache codes
also should be streamlined. Resultant approaches should then
be applied to back-bdb2.
Kurt Zeilenga [Thu, 8 Apr 1999 04:17:32 +0000 (04:17 +0000)]
More errno handling changes for FreeBSD LinuxThreads.
Kurt Zeilenga [Thu, 8 Apr 1999 03:57:25 +0000 (03:57 +0000)]
Changes to support FreeBSD LinuxThreads port. Namely don't rely
on errno not getting changed by Debug(). Likely a problem elsewhere.
Tests run okay, excepting concurrency has "no such object" problems.
Kurt Zeilenga [Thu, 8 Apr 1999 02:27:39 +0000 (02:27 +0000)]
Fix VPATH support.
Kurt Zeilenga [Thu, 8 Apr 1999 02:18:54 +0000 (02:18 +0000)]
Fix VPATH support.
Kurt Zeilenga [Wed, 7 Apr 1999 19:06:25 +0000 (19:06 +0000)]
Rebuild per Ksp request (for syslog changes)
Kurt Spanier [Wed, 7 Apr 1999 13:47:30 +0000 (13:47 +0000)]
Re-introduction of of syslog in configure.in. The rest nothing, sorry.
Kurt Spanier [Wed, 7 Apr 1999 13:17:39 +0000 (13:17 +0000)]
Introduce free'ing of key into ldbm_nextkey() (no need for free'ing in
clients).
Kurt Spanier [Wed, 7 Apr 1999 13:15:51 +0000 (13:15 +0000)]
Next try to fix the core dump problem on FreeBSD: eliminate ldbm_datum_free(),
because it's already done in ldbm_nextkey().
Kurt Zeilenga [Wed, 7 Apr 1999 06:10:46 +0000 (06:10 +0000)]
eliminate -lpthread -lexc from pthread link tests
Hallvard Furuseth [Wed, 7 Apr 1999 04:44:19 +0000 (04:44 +0000)]
Fix typo ol_cv_pthread_pthread -> ol_cv_pthread_threads for -threads option
Hallvard Furuseth [Wed, 7 Apr 1999 04:20:08 +0000 (04:20 +0000)]
Remove superfluous `)' in the `pthread_create in default libraries' test
Kurt Zeilenga [Wed, 7 Apr 1999 03:29:47 +0000 (03:29 +0000)]
Remove extraneous setting of shutdown variable before exiting.
Kurt Zeilenga [Wed, 7 Apr 1999 02:47:15 +0000 (02:47 +0000)]
New pthread_try_link test. Looks for pthread_create and pthread_detach
and, if LinuxThreads, pthread_kill_other_threads_np().
Hallvard Furuseth [Wed, 7 Apr 1999 01:23:25 +0000 (01:23 +0000)]
Remove #ifdef SLAP_CLEANUP around closelog()
Kurt Zeilenga [Tue, 6 Apr 1999 23:44:27 +0000 (23:44 +0000)]
New LinuxThreads detection. Correctly detects FreeBSD's LinuxThreads port
(but not sure if it's usable yet). Needs to be tested on various versions
of Linux native LinuxThreads.
Kurt Zeilenga [Tue, 6 Apr 1999 21:57:16 +0000 (21:57 +0000)]
Add ldap_pvt_thread_destory() to un-ldap_pvt_thread_initialize().
Move all SunOS routines (ie: _sleep() and its helpers) to thr_lwp.c
so that it's internals can be 'static'. Add 'static' to thr_lwp.c.
Add comment to LWP: NEEDS WORK, may not compile! Need some
SunOS user to sort out the details. Volunteers?
Kurt Zeilenga [Tue, 6 Apr 1999 20:59:30 +0000 (20:59 +0000)]
Remove HAVE_LWP use from slurpd. globals for ldap_pvt_thread_sleep()
need to be managed completely by -lldap_r.
Kurt Zeilenga [Tue, 6 Apr 1999 20:28:01 +0000 (20:28 +0000)]
Backout last change (resurection)
Kurt Zeilenga [Tue, 6 Apr 1999 20:19:40 +0000 (20:19 +0000)]
Move tsleep back to slurpd... it relies on slurpd internals.
Kurt Zeilenga [Tue, 6 Apr 1999 03:23:40 +0000 (03:23 +0000)]
Don't hide the unlock fix behind SLAP_CLEANUP...
Hallvard Furuseth [Tue, 6 Apr 1999 01:55:11 +0000 (01:55 +0000)]
ifdef SLAP_CLEANUP: close db files, free memory, some other cleanup before exit
Hallvard Furuseth [Tue, 6 Apr 1999 01:25:03 +0000 (01:25 +0000)]
Use macros for the dummy definitions of sys_errlist/sys_errno
Hallvard Furuseth [Tue, 6 Apr 1999 01:00:31 +0000 (01:00 +0000)]
Protect against failed commands in Makefile.in
Hallvard Furuseth [Tue, 6 Apr 1999 00:55:08 +0000 (00:55 +0000)]
Do not pipe to awk, use temporary file instead
Hallvard Furuseth [Tue, 6 Apr 1999 00:52:56 +0000 (00:52 +0000)]
Add $CC_MKDEP to override $CC and the -c option
Kurt Zeilenga [Mon, 5 Apr 1999 18:30:56 +0000 (18:30 +0000)]
Backout last change... finish my first coke... try again later...
Kurt Zeilenga [Mon, 5 Apr 1999 18:21:31 +0000 (18:21 +0000)]
Share unlock and return between true and false paths.
Hallvard Furuseth [Mon, 5 Apr 1999 18:01:11 +0000 (18:01 +0000)]
Delay free(e.e_ndn) in cache_find_entry_dn2id() to after "goto try_again"
Hallvard Furuseth [Mon, 5 Apr 1999 18:00:57 +0000 (18:00 +0000)]
Delay free(e.e_ndn) in bdb2i_cache_find_entry_dn2id() to after "goto try_again"
Kurt Zeilenga [Sun, 4 Apr 1999 22:13:30 +0000 (22:13 +0000)]
Remove extraneous do_close() prototype. Conflicts with perl internals.
Hallvard Furuseth [Sun, 4 Apr 1999 22:02:20 +0000 (22:02 +0000)]
Remove initialization of auto arrays
Hallvard Furuseth [Sun, 4 Apr 1999 21:53:39 +0000 (21:53 +0000)]
plug memory leak of li->li_nextid_file
Hallvard Furuseth [Sun, 4 Apr 1999 21:49:56 +0000 (21:49 +0000)]
strdup/free li->li_directory when chaning, so unmalloced version won't be freed
Hallvard Furuseth [Sun, 4 Apr 1999 21:39:24 +0000 (21:39 +0000)]
fix typo in comment in ldbm_back_close
Hallvard Furuseth [Sun, 4 Apr 1999 21:34:33 +0000 (21:34 +0000)]
Plug memory leaks
Hallvard Furuseth [Sun, 4 Apr 1999 21:29:22 +0000 (21:29 +0000)]
Plug memory leak in avl_free()
Kurt Zeilenga [Sun, 4 Apr 1999 20:36:35 +0000 (20:36 +0000)]
Cleanup socket() detection.
Move select() detection forward, error if not available.
Move select() args type check forward so it can be used in subsequent tests.
Hallvard Furuseth [Sun, 4 Apr 1999 05:06:49 +0000 (05:06 +0000)]
Do closedir()
Hallvard Furuseth [Sun, 4 Apr 1999 05:04:48 +0000 (05:04 +0000)]
Plug a few memory leaks
Kurt Zeilenga [Sun, 4 Apr 1999 04:49:39 +0000 (04:49 +0000)]
Regenerate configure to include quillan's mods.
John Quillan [Sun, 4 Apr 1999 04:21:48 +0000 (04:21 +0000)]
Fixe problem where perl options were retrieved from perl_inc and not
from ccopts. This prevented the Perl backend from compiling.
John Quillan [Sun, 4 Apr 1999 04:16:14 +0000 (04:16 +0000)]
Fix bug in compare.c where obj_ref to pb_obj_ref
Added call to perl "config" method so the the
perl module can have its own configuration
options.
Fix bug in init.c where the address of the be_private
object was being retrieved when it was already
a pointer.
Added the dn parameter to the modify.c call to the
modify method. Not sure why this wasn't there
in the beginning.
Expects and array from the search method instead of
a scalar in search.c so that it can return search
results and a return code.
Added the demo file SampleLDAP.pm
Kurt Zeilenga [Sun, 4 Apr 1999 00:59:32 +0000 (00:59 +0000)]
Add select args type & vfork tests for experimentation purposes.
Hallvard Furuseth [Sat, 3 Apr 1999 09:20:41 +0000 (09:20 +0000)]
Remove superfluous \ at end of lines outside macros; DEC cc doesn't like them.
Kurt Zeilenga [Sat, 3 Apr 1999 08:19:37 +0000 (08:19 +0000)]
comment out OSF/1 yielding select force. Likely incorrect.
Kurt Zeilenga [Sat, 3 Apr 1999 07:32:17 +0000 (07:32 +0000)]
Reorder the pthreads tests and hope for the best. IRIX users beware.
Kurt Zeilenga [Sat, 3 Apr 1999 05:58:16 +0000 (05:58 +0000)]
s/final/draft4/ in comment about (depreciated) draft4 libraries test order.
Kurt Zeilenga [Sat, 3 Apr 1999 05:55:08 +0000 (05:55 +0000)]
Fix cut and paste mistakes in pthread detections cases: -mt, -thread, -threads.
Hallvard Furuseth [Sat, 3 Apr 1999 03:39:16 +0000 (03:39 +0000)]
Add missing \n's in Debug statements
Hallvard Furuseth [Sat, 3 Apr 1999 03:28:17 +0000 (03:28 +0000)]
Add missing \n's in Debug statements
Hallvard Furuseth [Sat, 3 Apr 1999 03:19:07 +0000 (03:19 +0000)]
Add -U and -G options to set user and group id.
Move socket setup to set_socket(), called before the uid/gid change.
Kurt Zeilenga [Fri, 2 Apr 1999 19:09:59 +0000 (19:09 +0000)]
cache: implement try_again loop if cache entry is not ready.
id2entry: when an error occurs attempting to insert fetched
entry into cache, check to see if entry was added by another
thread. If so, return the entry added by the other thread.
The concurrency tests now run without the dreaded "no such object"
error messages!
Kurt Zeilenga [Fri, 2 Apr 1999 18:58:48 +0000 (18:58 +0000)]
Add checks for recv and recvfrom.
Gary Williams [Fri, 2 Apr 1999 15:36:29 +0000 (15:36 +0000)]
update project settings
Gary Williams [Fri, 2 Apr 1999 15:35:25 +0000 (15:35 +0000)]
add release configurations
Gary Williams [Fri, 2 Apr 1999 15:33:41 +0000 (15:33 +0000)]
put single and multi-threaded output in different directories
Hallvard Furuseth [Fri, 2 Apr 1999 09:11:26 +0000 (09:11 +0000)]
Factor `}' out of #if/...}/#else...}/#endif, so Emacs can match `{' against `}'
Hallvard Furuseth [Fri, 2 Apr 1999 08:30:02 +0000 (08:30 +0000)]
Fix the fix to the wait4child fix - forgot an #else
Hallvard Furuseth [Fri, 2 Apr 1999 05:55:58 +0000 (05:55 +0000)]
Define env.variable SLAPD_DEBUG to override the default debug level
Hallvard Furuseth [Fri, 2 Apr 1999 04:12:18 +0000 (04:12 +0000)]
Trying again:
Fix wait4child change: Prefer wait3 over wait. Use SIGNAL instead of signal.
Hallvard Furuseth [Fri, 2 Apr 1999 03:45:33 +0000 (03:45 +0000)]
UNDO LAST COMMIT.
Hallvard Furuseth [Fri, 2 Apr 1999 03:23:20 +0000 (03:23 +0000)]
Fix wait4child change: Prefer wait3 over wait. Use SIGNAL instead of signal.
Hallvard Furuseth [Thu, 1 Apr 1999 22:31:24 +0000 (22:31 +0000)]
Update getopt() string and usage()
Hallvard Furuseth [Thu, 1 Apr 1999 22:18:09 +0000 (22:18 +0000)]
Enclose `DB_ENV li_db_env' declaration in #ifdef HAVE_BERKELEY_DB2
Gary Williams [Thu, 1 Apr 1999 21:46:48 +0000 (21:46 +0000)]
create single-thread configurations
Gary Williams [Thu, 1 Apr 1999 21:46:01 +0000 (21:46 +0000)]
add client tools
Kurt Zeilenga [Thu, 1 Apr 1999 20:26:09 +0000 (20:26 +0000)]
Updates for NT4 (MSVC5++).
Removed external include/library paths from projects. External paths should
be set via Tools | Options | Directories. This allows each developer the
freedom to install external libraries where they desire.
Used libdb.lib instead of libdbs.lib to avoid thread conflicts.
Added hs_regex.lib to library input. We require some form of regex, this
library works (and is relatively easy for the user to install).
Removed a little lint which MCVC5 detected.
Need to sort out single-threaded vs multithreaded library generation.
Gary Williams [Thu, 1 Apr 1999 16:39:36 +0000 (16:39 +0000)]
enable debug output for NT
Gary Williams [Thu, 1 Apr 1999 16:38:11 +0000 (16:38 +0000)]
NT port
Gary Williams [Thu, 1 Apr 1999 16:32:11 +0000 (16:32 +0000)]
NT port
Gary Williams [Thu, 1 Apr 1999 16:06:08 +0000 (16:06 +0000)]
NT port
Gary Williams [Thu, 1 Apr 1999 16:00:24 +0000 (16:00 +0000)]
NT port
Gary Williams [Thu, 1 Apr 1999 15:57:57 +0000 (15:57 +0000)]
update project settings
Gary Williams [Thu, 1 Apr 1999 15:51:11 +0000 (15:51 +0000)]
NT port
Gary Williams [Thu, 1 Apr 1999 14:50:34 +0000 (14:50 +0000)]
NT port
Kurt Spanier [Thu, 1 Apr 1999 09:58:36 +0000 (09:58 +0000)]
Some minor clean-up; checking bdb2 for sync with ldbm.
Juan Gomez [Wed, 31 Mar 1999 02:53:27 +0000 (02:53 +0000)]
Added full v2 and v3 support for MODRDN/MODDN.
Juan Gomez [Wed, 31 Mar 1999 01:28:42 +0000 (01:28 +0000)]
Back with previous change, use ac/time.h include instead.
Juan Gomez [Wed, 31 Mar 1999 01:15:51 +0000 (01:15 +0000)]
Do include of sys/time.h to define struct timeval used in back-bdb2/add.c
and back-bdb2/compare.c.
Kurt Zeilenga [Tue, 30 Mar 1999 20:27:03 +0000 (20:27 +0000)]
Make sure everything is up to date after MDBM changes.
Juan Gomez [Tue, 30 Mar 1999 19:46:52 +0000 (19:46 +0000)]
Added mdbm option for with-ldbm-api variable.
Kurt Zeilenga [Tue, 30 Mar 1999 18:50:41 +0000 (18:50 +0000)]
Fix SLAPD_CONFIG_DN e_ndn bug.
Kurt Zeilenga [Tue, 30 Mar 1999 05:10:20 +0000 (05:10 +0000)]
remove libtool comment
Kurt Zeilenga [Tue, 30 Mar 1999 04:46:17 +0000 (04:46 +0000)]
Rebuild configure due to MDBM addition.
Juan Gomez [Tue, 30 Mar 1999 04:39:41 +0000 (04:39 +0000)]
MDBM support added.
Juan Gomez [Tue, 30 Mar 1999 04:39:08 +0000 (04:39 +0000)]
MDBM Support added.
Juan Gomez [Tue, 30 Mar 1999 04:25:52 +0000 (04:25 +0000)]
MDBM detection feature.
Kurt Zeilenga [Tue, 30 Mar 1999 04:07:16 +0000 (04:07 +0000)]
Add pthread_detach to -kthread test.
Kurt Zeilenga [Tue, 30 Mar 1999 00:07:37 +0000 (00:07 +0000)]
IRIX (very strange) default libraries have working pthread_create() but
no pthread_detach(). So, augment pthread_create() in default libraries
test to detach created thread.
Kurt Spanier [Mon, 29 Mar 1999 16:01:59 +0000 (16:01 +0000)]
Fix ldbmcat crash problem: first use the key before deleting it!
Kurt Zeilenga [Mon, 29 Mar 1999 09:04:35 +0000 (09:04 +0000)]
add wait macros. add LDAP_SIGCHLD. and other misc NT cleanups.
Kurt Zeilenga [Mon, 29 Mar 1999 05:28:29 +0000 (05:28 +0000)]
Add ioctl_t for arg type (Unix requires 'int', Winsock requires 'u_long').
Kurt Zeilenga [Mon, 29 Mar 1999 05:15:59 +0000 (05:15 +0000)]
Rework ac/socket.h for HAVE_WINSOCK:
tcp_close -> closesocket
ioctl -> ioctlsocket
Modify codes to use tcp_close() instead of close() for sockets.
Modify ioctl codes to be compatible with WINSOCK.
Kurt Zeilenga [Mon, 29 Mar 1999 02:07:18 +0000 (02:07 +0000)]
Misc header cleanup
Kurt Zeilenga [Mon, 29 Mar 1999 01:55:49 +0000 (01:55 +0000)]
wrap sys/param.h with HAVE_SYS_PARAM_H...
Kurt Zeilenga [Mon, 29 Mar 1999 01:40:17 +0000 (01:40 +0000)]
Add wait4/3 detection.
Modify slapd_tester to use pid_t and wait macros. May need to
implement additional macros in ac/wait.h (in addition to
WEXITSTATUS and WIFEXITED).
Kurt Zeilenga [Sun, 28 Mar 1999 22:43:43 +0000 (22:43 +0000)]
All implementations of lutil_lockf (aka ldap_lockf) block until
the lock is acquired. Add comments to that effect. Remove
unnecessary busy loops from slapd/lock.c and slurpd/lock.c.
Kurt Zeilenga [Sun, 28 Mar 1999 22:42:13 +0000 (22:42 +0000)]
NT doesn't have waitpid()