]>
git.sur5r.net Git - openldap/log
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()
Kurt Zeilenga [Sun, 28 Mar 1999 21:39:02 +0000 (21:39 +0000)]
Update lutil_lockf (aka: ldap_lockf) to hide implementation in
library, not header. Eliminate need for <ac/unistd.h> to sometimes
include <fcntl.h> and/or <sys/file.h>. Change lock API to expect
fd not FILE*. Allows wider use and eliminates requirement that
lutil_lockf.h depencency on stdio.h.
Implemented lockf, fcntl, and flock locking in lutil/lockf.c.
Additional implementations (including no-op) may be needed.
Update slapd/lock.c and slurpd/lock.c to use new API.
Kurt Zeilenga [Sun, 28 Mar 1999 21:33:32 +0000 (21:33 +0000)]
Remove quick install guide from README, it's too quick. Update INSTALL.
Ben Collins [Sun, 28 Mar 1999 18:07:44 +0000 (18:07 +0000)]
If we are using lutil_lock functions then define NEED_SIMPLE_LOCKING or
liblutil/lockf.c wont be compiled.
Hallvard Furuseth [Sun, 28 Mar 1999 01:40:54 +0000 (01:40 +0000)]
Avoid integer truncation of v1->bv_len - v2->bv_len in value_cmp(,,SYNTAX_BIN,)
Hallvard Furuseth [Sat, 27 Mar 1999 18:12:58 +0000 (18:12 +0000)]
ROTATE<LEFT/RIGHT> error messages to stderr, not stdout
Hallvard Furuseth [Sat, 27 Mar 1999 18:05:33 +0000 (18:05 +0000)]
Initial port of web_ldap to OpenLDAP. Also fixed some doc bugs.
Hallvard Furuseth [Sat, 27 Mar 1999 16:51:05 +0000 (16:51 +0000)]
free() -> ldap_memfree() change
Hallvard Furuseth [Sat, 27 Mar 1999 16:43:56 +0000 (16:43 +0000)]
Free() -> ldap_memfree() changes. Remove use of the return value of free().
Hallvard Furuseth [Sat, 27 Mar 1999 16:21:44 +0000 (16:21 +0000)]
Add wait4child()
Kurt Zeilenga [Fri, 26 Mar 1999 21:11:13 +0000 (21:11 +0000)]
Remove release version number from README in -devel.
Kurt Zeilenga [Fri, 26 Mar 1999 19:19:12 +0000 (19:19 +0000)]
Replace -M with $CC_MKDEP_FLAGS in comment
Kurt Zeilenga [Fri, 26 Mar 1999 17:43:23 +0000 (17:43 +0000)]
Update locking codes.
Will Ballantyne [Fri, 26 Mar 1999 16:34:47 +0000 (16:34 +0000)]
argh, somehow bdb2 version overwritten by ldbm version. Fixed.
Ben Collins [Fri, 26 Mar 1999 15:10:06 +0000 (15:10 +0000)]
Added extra checks to locking definitions
Will Ballantyne [Fri, 26 Mar 1999 05:36:26 +0000 (05:36 +0000)]
check for NULL newDN prior to final deref check
Kurt Zeilenga [Fri, 26 Mar 1999 04:37:39 +0000 (04:37 +0000)]
Add LDAP_DEBUG promotion and include of ac/insert.h
Kurt Zeilenga [Fri, 26 Mar 1999 02:51:33 +0000 (02:51 +0000)]
Reenable counters.
Kurt Zeilenga [Fri, 26 Mar 1999 01:05:22 +0000 (01:05 +0000)]
Don't call AC_CANONICAL_HOST from configure.in. We use feature tests.
(libtool, though, will drag it for it's use...)
Kurt Zeilenga [Thu, 25 Mar 1999 22:19:42 +0000 (22:19 +0000)]
close ldap.conf after reading it.
Kurt Zeilenga [Thu, 25 Mar 1999 22:11:42 +0000 (22:11 +0000)]
Use modified works test to check for pthread_create in default
libraries. Original work test is still used to valid detected
header/library are compatible.
Kurt Zeilenga [Thu, 25 Mar 1999 19:51:54 +0000 (19:51 +0000)]
Backout previous change. It breaks specification of pthreads via
the environment. A more general solution is needed.
Juan Gomez [Wed, 24 Mar 1999 21:45:15 +0000 (21:45 +0000)]
Added support for newSuperior.
Juan Gomez [Wed, 24 Mar 1999 20:26:43 +0000 (20:26 +0000)]
Added a new function: build_new_dn(), which builds new dn for entries
being renamed through modrdn/moddn. This in preparation to add support
for MODDN v3.
Juan Gomez [Wed, 24 Mar 1999 04:09:55 +0000 (04:09 +0000)]
Fixed Pthread detection problem in IRIX.
Juan Gomez [Wed, 24 Mar 1999 04:04:50 +0000 (04:04 +0000)]
Fixed Pthread detection problem in IRIX.
Kurt Zeilenga [Tue, 23 Mar 1999 01:57:48 +0000 (01:57 +0000)]
Fix unlock bug in connection_read/write. Fix connection_read() to
ignore input when connection is closing.
Kurt Zeilenga [Tue, 23 Mar 1999 00:38:57 +0000 (00:38 +0000)]
Improved "closing" handling. Remove fd from read set when state
changes to closing. Need to add protection against read set races.