]>
git.sur5r.net Git - openldap/log
Howard Chu [Thu, 2 Sep 1999 12:08:43 +0000 (12:08 +0000)]
Fix extraneous call to ldap_msgfree.
Hallvard Furuseth [Thu, 2 Sep 1999 10:39:51 +0000 (10:39 +0000)]
Fix: obey be->be_readonly. Also add & obey global_readonly.
Kurt Zeilenga [Thu, 2 Sep 1999 08:40:22 +0000 (08:40 +0000)]
Add missing * in last commit
Hallvard Furuseth [Thu, 2 Sep 1999 08:11:54 +0000 (08:11 +0000)]
Fix Debug printf format
Hallvard Furuseth [Thu, 2 Sep 1999 08:05:17 +0000 (08:05 +0000)]
Cleanup:
Fix printf formats, remove unused variables, add missing prototypes in slapd,
add static/const, add some return types or change to void return type.
Hallvard Furuseth [Thu, 2 Sep 1999 07:43:31 +0000 (07:43 +0000)]
Fix str2lower() -> ldap_pvt_str2lower()
Hallvard Furuseth [Thu, 2 Sep 1999 07:41:58 +0000 (07:41 +0000)]
Fix ber_pvt_sb_udp_set_dst() argument
Hallvard Furuseth [Thu, 2 Sep 1999 07:40:25 +0000 (07:40 +0000)]
Fix typo in lutil_debug_file()
Hallvard Furuseth [Thu, 2 Sep 1999 07:38:06 +0000 (07:38 +0000)]
Add ldap_rename() and ldap_rename_s() prototypes
Hallvard Furuseth [Thu, 2 Sep 1999 07:36:17 +0000 (07:36 +0000)]
Remove unused vars/function
Hallvard Furuseth [Thu, 2 Sep 1999 06:19:21 +0000 (06:19 +0000)]
Axe <varargs.h> support: Don't use LDAP_P() on varargs prototype.
Also fix debug_printf macro when !LDAP_DEBUG: It did not take arguments.
Hallvard Furuseth [Thu, 2 Sep 1999 06:14:23 +0000 (06:14 +0000)]
Axe <varargs.h> support. Assume STDC C translator is available
to build OpenLDAP.
Kurt Zeilenga [Thu, 2 Sep 1999 00:56:32 +0000 (00:56 +0000)]
Add OpenLDAP RCS id and copyright
Kurt Zeilenga [Thu, 2 Sep 1999 00:52:43 +0000 (00:52 +0000)]
Add OpenLDAP RCS id
Kurt Zeilenga [Wed, 1 Sep 1999 18:30:13 +0000 (18:30 +0000)]
Fix idl_insert_key() return codes.
Kurt Zeilenga [Wed, 1 Sep 1999 07:29:07 +0000 (07:29 +0000)]
if/else clause was reversed and attr->values used where values
should have been.
Hallvard Furuseth [Wed, 1 Sep 1999 06:54:33 +0000 (06:54 +0000)]
Fix uninitialized variable
Kurt Zeilenga [Wed, 1 Sep 1999 06:37:46 +0000 (06:37 +0000)]
Fix idle timeout code.
Hallvard Furuseth [Wed, 1 Sep 1999 05:44:16 +0000 (05:44 +0000)]
Fix uninitialized variables
Hallvard Furuseth [Wed, 1 Sep 1999 05:28:52 +0000 (05:28 +0000)]
include ac/string.h
Kurt Zeilenga [Wed, 1 Sep 1999 05:28:29 +0000 (05:28 +0000)]
Fix last commit. Should not have deleted assignment to p away.
Hallvard Furuseth [Wed, 1 Sep 1999 05:14:42 +0000 (05:14 +0000)]
Initialize rc
Kurt Zeilenga [Tue, 31 Aug 1999 17:51:04 +0000 (17:51 +0000)]
pipe(2) needs unistd.h
Kurt Zeilenga [Tue, 31 Aug 1999 17:24:32 +0000 (17:24 +0000)]
Add comment concerning with it's acceptable to use pipe(2)
Kurt Zeilenga [Tue, 31 Aug 1999 17:09:17 +0000 (17:09 +0000)]
Remove use of quipu object classes
Kurt Zeilenga [Tue, 31 Aug 1999 17:01:10 +0000 (17:01 +0000)]
Use pipe(2) if descriptors are selectable.
Kurt Zeilenga [Tue, 31 Aug 1999 16:47:42 +0000 (16:47 +0000)]
Clean up soctpair for NT. Add USE_PAIR to allow pair(2) use.
Kurt Zeilenga [Tue, 31 Aug 1999 05:18:06 +0000 (05:18 +0000)]
sockpair cleanup including:
provide prototype in lutil.h
use LBER_SOCKET_T instead of int in prototype. (didn't use
ber_socket_t so all of lber.h wouldn't have be dragged in)
rename signal handlers, use RETSIGTYPE, and make SIGHUP wake
rename fd to sd to reflect descriptor must be usable as a socket.
renamed sel_exit_fds to wake_sds to reflect current use
improve readability of sockpeer.c including removing obtuse goto.
Howard Chu [Tue, 31 Aug 1999 03:26:35 +0000 (03:26 +0000)]
Use lutil_pair(), WAKE_LISTENER now uses this socket.
Howard Chu [Tue, 31 Aug 1999 03:25:23 +0000 (03:25 +0000)]
Added lutil_pair()
Kurt Zeilenga [Tue, 31 Aug 1999 01:44:33 +0000 (01:44 +0000)]
Shouldn't need to restall signal handler outside of handler.
Kurt Zeilenga [Tue, 31 Aug 1999 01:41:52 +0000 (01:41 +0000)]
do_admin should reinstall handler on called signal number and
not assume LDAP_SIGUSR2
Kurt Zeilenga [Tue, 31 Aug 1999 01:17:01 +0000 (01:17 +0000)]
Add OpenLDAP RCS Id
Kurt Zeilenga [Tue, 31 Aug 1999 00:58:22 +0000 (00:58 +0000)]
Add some basic detection of restartable syscalls, sigaction,
socketpair. Use dependent on useful detection is.
Hallvard Furuseth [Tue, 31 Aug 1999 00:44:49 +0000 (00:44 +0000)]
Export ldap_pvt_<find_wildcard,filter_value_unescape>() from libldap.
Use them in slapd/str2filter.c.
Hallvard Furuseth [Tue, 31 Aug 1999 00:40:07 +0000 (00:40 +0000)]
Typo in debug message
Gary Williams [Mon, 30 Aug 1999 14:19:53 +0000 (14:19 +0000)]
validate object class before checking required and allowed
Kurt Zeilenga [Mon, 30 Aug 1999 08:08:00 +0000 (08:08 +0000)]
s/Id/OpenLDAP/ in RCSids
Kurt Zeilenga [Mon, 30 Aug 1999 08:02:39 +0000 (08:02 +0000)]
Add experimental OpenLDAP RCSid
Kurt Zeilenga [Mon, 30 Aug 1999 01:24:33 +0000 (01:24 +0000)]
Do not overwrite charray argument if charray_add realloc fails.
Caller is required to call ldap_charray_free as needed.
Kurt Zeilenga [Mon, 30 Aug 1999 01:01:07 +0000 (01:01 +0000)]
Update description of 2.0 items in preparation for posting to -devel.
Kurt Zeilenga [Sun, 29 Aug 1999 23:33:35 +0000 (23:33 +0000)]
Back out to simple sock_errno sock_errstr macros and use WSAGetErrorString
instead of WSAGetLastErrorString to preserve errno like semantics.
Kurt Zeilenga [Sun, 29 Aug 1999 23:29:08 +0000 (23:29 +0000)]
Add RCS ID again...
Howard Chu [Sun, 29 Aug 1999 23:09:27 +0000 (23:09 +0000)]
Replaced sock_errno()/sock_errstr() macros with SOCK_ERR(num,str)
Kurt Zeilenga [Sun, 29 Aug 1999 20:35:22 +0000 (20:35 +0000)]
Add RCS Id to "generic" headers (experimental)
Kurt Zeilenga [Sun, 29 Aug 1999 20:32:34 +0000 (20:32 +0000)]
Make sock_errstr expect an error value instead of relying on current
errno.
Kurt Zeilenga [Sun, 29 Aug 1999 20:13:33 +0000 (20:13 +0000)]
Fix Debug() with too few arguments.
Kurt Zeilenga [Sun, 29 Aug 1999 20:11:23 +0000 (20:11 +0000)]
Update a few comments
Howard Chu [Sun, 29 Aug 1999 04:01:16 +0000 (04:01 +0000)]
Defined tcp_read and tcp_write. Use them in daemon.c
Howard Chu [Sun, 29 Aug 1999 02:59:29 +0000 (02:59 +0000)]
In previous commit - change strerror() to STRERROR().
Use strerror() if available.
Howard Chu [Sun, 29 Aug 1999 02:54:58 +0000 (02:54 +0000)]
per Hallvard's advice: fixed definition of sock_errstr().
Howard Chu [Sun, 29 Aug 1999 01:56:51 +0000 (01:56 +0000)]
Define sock_errno() and sock_errstr() for Unix and winsock.
Howard Chu [Sun, 29 Aug 1999 01:56:00 +0000 (01:56 +0000)]
Define strerror() if it doesn't exist.
Howard Chu [Sun, 29 Aug 1999 01:51:45 +0000 (01:51 +0000)]
Use sock_errno() and sock_errstr() in socket debug messages.
Use a UDP socket connected to itself to allow signals to terminate the
select() in slapd_daemon_task().
Howard Chu [Sun, 29 Aug 1999 01:50:12 +0000 (01:50 +0000)]
Use strerror()
Hallvard Furuseth [Sun, 29 Aug 1999 00:26:44 +0000 (00:26 +0000)]
Fix fprintf format args
Hallvard Furuseth [Sat, 28 Aug 1999 22:15:16 +0000 (22:15 +0000)]
Catch \ at end of filter
Hallvard Furuseth [Sat, 28 Aug 1999 22:14:21 +0000 (22:14 +0000)]
Remove 'cast away const'
Hallvard Furuseth [Sat, 28 Aug 1999 22:06:52 +0000 (22:06 +0000)]
Fix typo in filter_value_unescape()
Kurt Zeilenga [Sat, 28 Aug 1999 06:00:46 +0000 (06:00 +0000)]
Add RCS Id (experimental)
Kurt Zeilenga [Fri, 27 Aug 1999 19:31:42 +0000 (19:31 +0000)]
Remove misplaced asserts. connection_resched changes connection state
to UNUSED without holding connections mutex. It's not safe for
connection_init to check connection state until after acquires the
c_mutex.
Kurt Zeilenga [Fri, 27 Aug 1999 18:23:58 +0000 (18:23 +0000)]
If filenm is "" or ":", skip it
Kurt Zeilenga [Fri, 27 Aug 1999 17:51:40 +0000 (17:51 +0000)]
Remove lint from awk script (trailing ;)
Improve regex to allow detection of : inside of filenames.
Skip files with ':' in name
Fix noslash 'next' vs 'continue' bug
Kurt Zeilenga [Fri, 27 Aug 1999 05:45:53 +0000 (05:45 +0000)]
Plug ber leakage:
result was leaking ber's in some error cases. ber_flush now called
with no freeing so that caller of send_ldap_ber() can free its own ber.
c->c_currentber was also being leaked if connection was destory
current when a PDU input was outstanding.
Fixed ber_flush to free ber upon write only to file.
Hallvard Furuseth [Fri, 27 Aug 1999 03:21:43 +0000 (03:21 +0000)]
Plug memory leaks (free output from ldif_parse_line)
Kurt Zeilenga [Thu, 26 Aug 1999 22:43:08 +0000 (22:43 +0000)]
Disable removal of subtree indices upon delete. This allows
modrdn to run, but masks the underlying subtree index bug (which
I haven't found yet).
Apply modrdn/dn2id changes to BDB2.
Kurt Zeilenga [Thu, 26 Aug 1999 21:00:22 +0000 (21:00 +0000)]
Assert ID != NOID when fetching from the datastore.
Add additional abandon point to modrdn.
test005-modrdn still shows error. Likely in dn2id, index, or idl codes.
Kurt Zeilenga [Thu, 26 Aug 1999 19:12:15 +0000 (19:12 +0000)]
Use NULL pointer to indicate values need not be freed instead of
relying on developer selecting the right goto label.
Kurt Zeilenga [Thu, 26 Aug 1999 19:10:28 +0000 (19:10 +0000)]
Remove use of uninitialized variable.
Kurt Zeilenga [Thu, 26 Aug 1999 19:09:40 +0000 (19:09 +0000)]
Fix "database fubar" crash
Kurt Zeilenga [Thu, 26 Aug 1999 01:48:47 +0000 (01:48 +0000)]
Backout delete before add rdn index change.
Kurt Zeilenga [Thu, 26 Aug 1999 01:33:57 +0000 (01:33 +0000)]
Defer updating dn2id until after rdn checks... (test005 still broken)
Kurt Zeilenga [Thu, 26 Aug 1999 01:07:24 +0000 (01:07 +0000)]
Delete old rdn before adding new rdn.
Kurt Zeilenga [Thu, 26 Aug 1999 00:51:27 +0000 (00:51 +0000)]
fix dn2id delete bug... breaks modrdn.
Kurt Zeilenga [Thu, 26 Aug 1999 00:48:24 +0000 (00:48 +0000)]
This fixes dn2id delete bug... but breaks modrdn.
Kurt Zeilenga [Thu, 26 Aug 1999 00:22:05 +0000 (00:22 +0000)]
Update test005-modrdn to handle success without entries
Kurt Zeilenga [Wed, 25 Aug 1999 21:27:39 +0000 (21:27 +0000)]
Defer addition until we have some basic UTF-8 routines
Kurt Zeilenga [Wed, 25 Aug 1999 18:32:28 +0000 (18:32 +0000)]
Clarify -enable-dns and "LDAPD" as being an X.500-to-LDAP gateway
Kurt Zeilenga [Wed, 25 Aug 1999 06:52:28 +0000 (06:52 +0000)]
Add dn.c
Kurt Zeilenga [Wed, 25 Aug 1999 06:44:18 +0000 (06:44 +0000)]
Fix NEEDS typo in the right place
Kurt Zeilenga [Wed, 25 Aug 1999 06:44:08 +0000 (06:44 +0000)]
Implement ldap_dn_normalize and friends. Should be used by clients
to validate input dn's BEFORE sending dn's to server.
Also fixed getfilter to use REG_EXTENDED|REG_NOSUB. (and fixed one
case where REG_BASIC was still used).
s/strdup/LDAP_STRDUP/
Added ldap_pvt_str2lower/upper
Kurt Zeilenga [Wed, 25 Aug 1999 06:31:56 +0000 (06:31 +0000)]
Fix NEEDS typo
Kurt Zeilenga [Tue, 24 Aug 1999 23:47:11 +0000 (23:47 +0000)]
s/.h.nt/.nt/ to allow for better NMAKE processing
Kurt Zeilenga [Tue, 24 Aug 1999 23:45:52 +0000 (23:45 +0000)]
Prepare to add ldap_dn_*() routines from slapd.
Gary Williams [Tue, 24 Aug 1999 18:42:11 +0000 (18:42 +0000)]
LDAP_P is only for prototypes, remove from function def
Kurt Zeilenga [Tue, 24 Aug 1999 04:33:34 +0000 (04:33 +0000)]
Add REG_NOSUB as we only need matched results.
Kurt Zeilenga [Tue, 24 Aug 1999 04:22:23 +0000 (04:22 +0000)]
Fix ManageDSAit OID (had extra .16)
Kurt Zeilenga [Tue, 24 Aug 1999 01:13:30 +0000 (01:13 +0000)]
Rename filter entry's strcpy_special() to strcpy_regex() to better
reflect its purpose. Modify switch to support REG_EXTENDED expressions.
Use REG_EXTENDED instead of REG_BASIC everywhere.
Modify <ac/regex.h> to support <gnuregex.h> for testing purposes.
Requires: env CPPFLAGS="-DHAVE_GNUREGEX_H=1" LIBS=-lgnuregex ./configure
Kurt Zeilenga [Tue, 24 Aug 1999 00:27:53 +0000 (00:27 +0000)]
Axe <varargs.h> support. Assume STDC C translator is available
to build OpenLDAP.
Kurt Zeilenga [Sun, 22 Aug 1999 18:47:54 +0000 (18:47 +0000)]
./configure --help cleanup
Kurt Zeilenga [Sun, 22 Aug 1999 17:10:23 +0000 (17:10 +0000)]
s/ldif2ldbm/slapadd/
Kurt Zeilenga [Sun, 22 Aug 1999 17:08:41 +0000 (17:08 +0000)]
Rename test001 from test001-ldif2ldbm to test001-slapadd (repo move).
Hallvard Furuseth [Sun, 22 Aug 1999 03:36:19 +0000 (03:36 +0000)]
Plug minor memory leak
Hallvard Furuseth [Sun, 22 Aug 1999 03:35:10 +0000 (03:35 +0000)]
Remove lint
Hallvard Furuseth [Sun, 22 Aug 1999 03:32:13 +0000 (03:32 +0000)]
Initialize lineno
Hallvard Furuseth [Sun, 22 Aug 1999 03:30:45 +0000 (03:30 +0000)]
Always compile acl_dn_pat when it is set, otherwise acl.c breaks
Kurt Zeilenga [Sun, 22 Aug 1999 03:04:33 +0000 (03:04 +0000)]
Support for native GNU Pth Threads (--with-threads=pth)
Tests behave as expected excepting slapd sometimes does not
shutdown properly.
Kurt Zeilenga [Sat, 21 Aug 1999 17:19:10 +0000 (17:19 +0000)]
Experimental support for GNU Pth's Posix Thread API. This might be a
suitable for systems with poor (or nonexistant) Pthread implementations.
Kurt Zeilenga [Fri, 20 Aug 1999 22:59:00 +0000 (22:59 +0000)]
Stop mergers if dup returns NULL.
Kurt Zeilenga [Fri, 20 Aug 1999 22:42:04 +0000 (22:42 +0000)]
ACIs from Mark Valence <kurash@sassafras.com> (ITS#261)