]> git.sur5r.net Git - openldap/log
openldap
24 years agoAxe <varargs.h> support. Assume STDC C translator is available
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.

24 years agoAdd OpenLDAP RCS id and copyright
Kurt Zeilenga [Thu, 2 Sep 1999 00:56:32 +0000 (00:56 +0000)]
Add OpenLDAP RCS id and copyright

24 years agoAdd OpenLDAP RCS id
Kurt Zeilenga [Thu, 2 Sep 1999 00:52:43 +0000 (00:52 +0000)]
Add OpenLDAP RCS id

24 years agoFix idl_insert_key() return codes.
Kurt Zeilenga [Wed, 1 Sep 1999 18:30:13 +0000 (18:30 +0000)]
Fix idl_insert_key() return codes.

24 years agoif/else clause was reversed and attr->values used where values
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.

24 years agoFix uninitialized variable
Hallvard Furuseth [Wed, 1 Sep 1999 06:54:33 +0000 (06:54 +0000)]
Fix uninitialized variable

24 years agoFix idle timeout code.
Kurt Zeilenga [Wed, 1 Sep 1999 06:37:46 +0000 (06:37 +0000)]
Fix idle timeout code.

24 years agoFix uninitialized variables
Hallvard Furuseth [Wed, 1 Sep 1999 05:44:16 +0000 (05:44 +0000)]
Fix uninitialized variables

24 years agoinclude ac/string.h
Hallvard Furuseth [Wed, 1 Sep 1999 05:28:52 +0000 (05:28 +0000)]
include ac/string.h

24 years agoFix last commit. Should not have deleted assignment to p away.
Kurt Zeilenga [Wed, 1 Sep 1999 05:28:29 +0000 (05:28 +0000)]
Fix last commit.  Should not have deleted assignment to p away.

24 years agoInitialize rc
Hallvard Furuseth [Wed, 1 Sep 1999 05:14:42 +0000 (05:14 +0000)]
Initialize rc

24 years agopipe(2) needs unistd.h
Kurt Zeilenga [Tue, 31 Aug 1999 17:51:04 +0000 (17:51 +0000)]
pipe(2) needs unistd.h

24 years agoAdd comment concerning with it's acceptable to use pipe(2)
Kurt Zeilenga [Tue, 31 Aug 1999 17:24:32 +0000 (17:24 +0000)]
Add comment concerning with it's acceptable to use pipe(2)

24 years agoRemove use of quipu object classes
Kurt Zeilenga [Tue, 31 Aug 1999 17:09:17 +0000 (17:09 +0000)]
Remove use of quipu object classes

24 years agoUse pipe(2) if descriptors are selectable.
Kurt Zeilenga [Tue, 31 Aug 1999 17:01:10 +0000 (17:01 +0000)]
Use pipe(2) if descriptors are selectable.

24 years agoClean up soctpair for NT. Add USE_PAIR to allow pair(2) use.
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.

24 years agosockpair cleanup including:
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.

24 years agoUse lutil_pair(), WAKE_LISTENER now uses this socket.
Howard Chu [Tue, 31 Aug 1999 03:26:35 +0000 (03:26 +0000)]
Use lutil_pair(), WAKE_LISTENER now uses this socket.

24 years agoAdded lutil_pair()
Howard Chu [Tue, 31 Aug 1999 03:25:23 +0000 (03:25 +0000)]
Added lutil_pair()

24 years agoShouldn't need to restall signal handler outside of handler.
Kurt Zeilenga [Tue, 31 Aug 1999 01:44:33 +0000 (01:44 +0000)]
Shouldn't need to restall signal handler outside of handler.

24 years agodo_admin should reinstall handler on called signal number and
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

24 years agoAdd OpenLDAP RCS Id
Kurt Zeilenga [Tue, 31 Aug 1999 01:17:01 +0000 (01:17 +0000)]
Add OpenLDAP RCS Id

24 years agoAdd some basic detection of restartable syscalls, sigaction,
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.

24 years agoExport ldap_pvt_<find_wildcard,filter_value_unescape>() from libldap.
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.

24 years agoTypo in debug message
Hallvard Furuseth [Tue, 31 Aug 1999 00:40:07 +0000 (00:40 +0000)]
Typo in debug message

24 years agovalidate object class before checking required and allowed
Gary Williams [Mon, 30 Aug 1999 14:19:53 +0000 (14:19 +0000)]
validate object class before checking required and allowed

24 years agos/Id/OpenLDAP/ in RCSids
Kurt Zeilenga [Mon, 30 Aug 1999 08:08:00 +0000 (08:08 +0000)]
s/Id/OpenLDAP/ in RCSids

24 years agoAdd experimental OpenLDAP RCSid
Kurt Zeilenga [Mon, 30 Aug 1999 08:02:39 +0000 (08:02 +0000)]
Add experimental OpenLDAP RCSid

24 years agoDo not overwrite charray argument if charray_add realloc fails.
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.

24 years agoUpdate description of 2.0 items in preparation for posting to -devel.
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.

24 years agoBack out to simple sock_errno sock_errstr macros and use WSAGetErrorString
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.

24 years agoAdd RCS ID again...
Kurt Zeilenga [Sun, 29 Aug 1999 23:29:08 +0000 (23:29 +0000)]
Add RCS ID again...

24 years agoReplaced sock_errno()/sock_errstr() macros with SOCK_ERR(num,str)
Howard Chu [Sun, 29 Aug 1999 23:09:27 +0000 (23:09 +0000)]
Replaced sock_errno()/sock_errstr() macros with SOCK_ERR(num,str)

24 years agoAdd RCS Id to "generic" headers (experimental)
Kurt Zeilenga [Sun, 29 Aug 1999 20:35:22 +0000 (20:35 +0000)]
Add RCS Id to "generic" headers (experimental)

24 years agoMake sock_errstr expect an error value instead of relying on current
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.

24 years agoFix Debug() with too few arguments.
Kurt Zeilenga [Sun, 29 Aug 1999 20:13:33 +0000 (20:13 +0000)]
Fix Debug() with too few arguments.

24 years agoUpdate a few comments
Kurt Zeilenga [Sun, 29 Aug 1999 20:11:23 +0000 (20:11 +0000)]
Update a few comments

24 years agoDefined tcp_read and tcp_write. Use them in daemon.c
Howard Chu [Sun, 29 Aug 1999 04:01:16 +0000 (04:01 +0000)]
Defined tcp_read and tcp_write. Use them in daemon.c

24 years agoIn previous commit - change strerror() to STRERROR().
Howard Chu [Sun, 29 Aug 1999 02:59:29 +0000 (02:59 +0000)]
In previous commit - change strerror() to STRERROR().
Use strerror() if available.

24 years agoper Hallvard's advice: fixed definition of sock_errstr().
Howard Chu [Sun, 29 Aug 1999 02:54:58 +0000 (02:54 +0000)]
per Hallvard's advice: fixed definition of sock_errstr().

24 years agoDefine sock_errno() and sock_errstr() for Unix and winsock.
Howard Chu [Sun, 29 Aug 1999 01:56:51 +0000 (01:56 +0000)]
Define sock_errno() and sock_errstr() for Unix and winsock.

24 years agoDefine strerror() if it doesn't exist.
Howard Chu [Sun, 29 Aug 1999 01:56:00 +0000 (01:56 +0000)]
Define strerror() if it doesn't exist.

24 years agoUse sock_errno() and sock_errstr() in socket debug messages.
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().

24 years agoUse strerror()
Howard Chu [Sun, 29 Aug 1999 01:50:12 +0000 (01:50 +0000)]
Use strerror()

24 years agoFix fprintf format args
Hallvard Furuseth [Sun, 29 Aug 1999 00:26:44 +0000 (00:26 +0000)]
Fix fprintf format args

24 years agoCatch \ at end of filter
Hallvard Furuseth [Sat, 28 Aug 1999 22:15:16 +0000 (22:15 +0000)]
Catch \ at end of filter

24 years agoRemove 'cast away const'
Hallvard Furuseth [Sat, 28 Aug 1999 22:14:21 +0000 (22:14 +0000)]
Remove 'cast away const'

24 years agoFix typo in filter_value_unescape()
Hallvard Furuseth [Sat, 28 Aug 1999 22:06:52 +0000 (22:06 +0000)]
Fix typo in filter_value_unescape()

24 years agoAdd RCS Id (experimental)
Kurt Zeilenga [Sat, 28 Aug 1999 06:00:46 +0000 (06:00 +0000)]
Add RCS Id (experimental)

24 years agoRemove misplaced asserts. connection_resched changes connection state
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.

24 years agoIf filenm is "" or ":", skip it
Kurt Zeilenga [Fri, 27 Aug 1999 18:23:58 +0000 (18:23 +0000)]
If filenm is "" or ":", skip it

24 years agoRemove lint from awk script (trailing ;)
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

24 years agoPlug ber leakage:
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.

24 years agoPlug memory leaks (free output from ldif_parse_line)
Hallvard Furuseth [Fri, 27 Aug 1999 03:21:43 +0000 (03:21 +0000)]
Plug memory leaks (free output from ldif_parse_line)

24 years agoDisable removal of subtree indices upon delete. This allows
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.

24 years agoAssert ID != NOID when fetching from the datastore.
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.

24 years agoUse NULL pointer to indicate values need not be freed instead of
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.

24 years agoRemove use of uninitialized variable.
Kurt Zeilenga [Thu, 26 Aug 1999 19:10:28 +0000 (19:10 +0000)]
Remove use of uninitialized variable.

24 years agoFix "database fubar" crash
Kurt Zeilenga [Thu, 26 Aug 1999 19:09:40 +0000 (19:09 +0000)]
Fix "database fubar" crash

24 years agoBackout delete before add rdn index change.
Kurt Zeilenga [Thu, 26 Aug 1999 01:48:47 +0000 (01:48 +0000)]
Backout delete before add rdn index change.

24 years agoDefer updating dn2id until after rdn checks... (test005 still broken)
Kurt Zeilenga [Thu, 26 Aug 1999 01:33:57 +0000 (01:33 +0000)]
Defer updating dn2id until after rdn checks... (test005 still broken)

24 years agoDelete old rdn before adding new rdn.
Kurt Zeilenga [Thu, 26 Aug 1999 01:07:24 +0000 (01:07 +0000)]
Delete old rdn before adding new rdn.

24 years agofix dn2id delete bug... breaks modrdn.
Kurt Zeilenga [Thu, 26 Aug 1999 00:51:27 +0000 (00:51 +0000)]
fix dn2id delete bug... breaks modrdn.

24 years agoThis fixes dn2id delete bug... but breaks modrdn.
Kurt Zeilenga [Thu, 26 Aug 1999 00:48:24 +0000 (00:48 +0000)]
This fixes dn2id delete bug... but breaks modrdn.

24 years agoUpdate test005-modrdn to handle success without entries
Kurt Zeilenga [Thu, 26 Aug 1999 00:22:05 +0000 (00:22 +0000)]
Update test005-modrdn to handle success without entries

24 years agoDefer addition until we have some basic UTF-8 routines
Kurt Zeilenga [Wed, 25 Aug 1999 21:27:39 +0000 (21:27 +0000)]
Defer addition until we have some basic UTF-8 routines

24 years agoClarify -enable-dns and "LDAPD" as being an X.500-to-LDAP gateway
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

24 years agoAdd dn.c
Kurt Zeilenga [Wed, 25 Aug 1999 06:52:28 +0000 (06:52 +0000)]
Add dn.c

24 years agoFix NEEDS typo in the right place
Kurt Zeilenga [Wed, 25 Aug 1999 06:44:18 +0000 (06:44 +0000)]
Fix NEEDS typo in the right place

24 years agoImplement ldap_dn_normalize and friends. Should be used by clients
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

24 years agoFix NEEDS typo
Kurt Zeilenga [Wed, 25 Aug 1999 06:31:56 +0000 (06:31 +0000)]
Fix NEEDS typo

24 years agos/.h.nt/.nt/ to allow for better NMAKE processing
Kurt Zeilenga [Tue, 24 Aug 1999 23:47:11 +0000 (23:47 +0000)]
s/.h.nt/.nt/ to allow for better NMAKE processing

24 years agoPrepare to add ldap_dn_*() routines from slapd.
Kurt Zeilenga [Tue, 24 Aug 1999 23:45:52 +0000 (23:45 +0000)]
Prepare to add ldap_dn_*() routines from slapd.

24 years agoLDAP_P is only for prototypes, remove from function def
Gary Williams [Tue, 24 Aug 1999 18:42:11 +0000 (18:42 +0000)]
LDAP_P is only for prototypes, remove from function def

24 years agoAdd REG_NOSUB as we only need matched results.
Kurt Zeilenga [Tue, 24 Aug 1999 04:33:34 +0000 (04:33 +0000)]
Add REG_NOSUB as we only need matched results.

24 years agoFix ManageDSAit OID (had extra .16)
Kurt Zeilenga [Tue, 24 Aug 1999 04:22:23 +0000 (04:22 +0000)]
Fix ManageDSAit OID (had extra .16)

24 years agoRename filter entry's strcpy_special() to strcpy_regex() to better
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

24 years agoAxe <varargs.h> support. Assume STDC C translator is available
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.

24 years ago./configure --help cleanup
Kurt Zeilenga [Sun, 22 Aug 1999 18:47:54 +0000 (18:47 +0000)]
./configure --help cleanup

24 years agos/ldif2ldbm/slapadd/
Kurt Zeilenga [Sun, 22 Aug 1999 17:10:23 +0000 (17:10 +0000)]
s/ldif2ldbm/slapadd/

24 years agoRename test001 from test001-ldif2ldbm to test001-slapadd (repo move).
Kurt Zeilenga [Sun, 22 Aug 1999 17:08:41 +0000 (17:08 +0000)]
Rename test001 from test001-ldif2ldbm to test001-slapadd (repo move).

24 years agoPlug minor memory leak
Hallvard Furuseth [Sun, 22 Aug 1999 03:36:19 +0000 (03:36 +0000)]
Plug minor memory leak

24 years agoRemove lint
Hallvard Furuseth [Sun, 22 Aug 1999 03:35:10 +0000 (03:35 +0000)]
Remove lint

24 years agoInitialize lineno
Hallvard Furuseth [Sun, 22 Aug 1999 03:32:13 +0000 (03:32 +0000)]
Initialize lineno

24 years agoAlways compile acl_dn_pat when it is set, otherwise acl.c breaks
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

24 years agoSupport for native GNU Pth Threads (--with-threads=pth)
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.

24 years agoExperimental support for GNU Pth's Posix Thread API. This might be a
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.

24 years agoStop mergers if dup returns NULL.
Kurt Zeilenga [Fri, 20 Aug 1999 22:59:00 +0000 (22:59 +0000)]
Stop mergers if dup returns NULL.

24 years agoACIs from Mark Valence <kurash@sassafras.com> (ITS#261)
Kurt Zeilenga [Fri, 20 Aug 1999 22:42:04 +0000 (22:42 +0000)]
ACIs from Mark Valence <kurash@sassafras.com> (ITS#261)

24 years agoBackout fetch_one copy change
Kurt Zeilenga [Fri, 20 Aug 1999 22:37:30 +0000 (22:37 +0000)]
Backout fetch_one copy change

24 years agoFix slurpd constification where dependent upon slap.h
Kurt Zeilenga [Fri, 20 Aug 1999 22:24:58 +0000 (22:24 +0000)]
Fix slurpd constification where dependent upon slap.h

24 years agocomplete this round of constification
Kurt Zeilenga [Fri, 20 Aug 1999 19:50:11 +0000 (19:50 +0000)]
complete this round of constification

24 years agomore const'ification
Kurt Zeilenga [Fri, 20 Aug 1999 19:29:43 +0000 (19:29 +0000)]
more const'ification

24 years agoconst'ification
Kurt Zeilenga [Fri, 20 Aug 1999 19:12:41 +0000 (19:12 +0000)]
const'ification

24 years agoconst'fication
Kurt Zeilenga [Fri, 20 Aug 1999 19:00:44 +0000 (19:00 +0000)]
const'fication

24 years agoApply Hallvard's memory leak plugs...
Kurt Zeilenga [Fri, 20 Aug 1999 00:55:22 +0000 (00:55 +0000)]
Apply Hallvard's memory leak plugs...

24 years agoUpdate for attribute, objectclass, and objectidentifier descriptions.
Howard Chu [Fri, 20 Aug 1999 00:32:36 +0000 (00:32 +0000)]
Update for attribute, objectclass, and objectidentifier descriptions.

24 years agoFix warnings from previous OID parse commit
Howard Chu [Thu, 19 Aug 1999 23:44:53 +0000 (23:44 +0000)]
Fix warnings from previous OID parse commit

24 years agos/slapentry/slapadd/
Kurt Zeilenga [Thu, 19 Aug 1999 22:27:24 +0000 (22:27 +0000)]
s/slapentry/slapadd/

24 years agos/HAVE_QUIPU/BUILD_QUIPU/
Kurt Zeilenga [Thu, 19 Aug 1999 22:26:35 +0000 (22:26 +0000)]
s/HAVE_QUIPU/BUILD_QUIPU/