]> git.sur5r.net Git - openldap/log
openldap
25 years agoInitial revision
Kurt Spanier [Fri, 10 Sep 1999 17:33:39 +0000 (17:33 +0000)]
Initial revision

25 years agoFix shbang magic "#! /bin/sh" (correct) vs "#!/bin/sh" (incorrect)
Kurt Zeilenga [Fri, 10 Sep 1999 02:15:03 +0000 (02:15 +0000)]
Fix shbang magic "#! /bin/sh" (correct) vs "#!/bin/sh" (incorrect)

25 years agoNeeds some additonal m4 magic to get rcsid correct.
Kurt Zeilenga [Fri, 10 Sep 1999 02:10:20 +0000 (02:10 +0000)]
Needs some additonal m4 magic to get rcsid correct.

25 years agoAllow replace with no values
Kurt Zeilenga [Fri, 10 Sep 1999 01:55:46 +0000 (01:55 +0000)]
Allow replace with no values
dn: cn=foo
changetype: modify
replace: bar
-

25 years agoRework RCS id codes such that they are placed at the top of
Kurt Zeilenga [Thu, 9 Sep 1999 20:35:43 +0000 (20:35 +0000)]
Rework RCS id codes such that they are placed at the top of
configure.  Implementation is dependent upon autoconf internals.
Attempts to use AC_REVISION hammered by libtool bugs.  Will submit
reports to libtool camp and rework configure.in once fixes are
released.

25 years agouse ' instead of " when setting rcs id variable
Kurt Zeilenga [Thu, 9 Sep 1999 05:31:52 +0000 (05:31 +0000)]
use ' instead of " when setting rcs id variable

25 years agoAdd RCSid
Kurt Zeilenga [Thu, 9 Sep 1999 05:30:12 +0000 (05:30 +0000)]
Add RCSid

25 years agoGenerate OpenLDAP id for configure
Kurt Zeilenga [Thu, 9 Sep 1999 05:21:18 +0000 (05:21 +0000)]
Generate OpenLDAP id for configure

25 years agoAdd OpenLDAP RCSid to conf files
Kurt Zeilenga [Thu, 9 Sep 1999 04:43:30 +0000 (04:43 +0000)]
Add OpenLDAP RCSid to conf files

25 years agoAdd OpenLDAP RCSid
Kurt Zeilenga [Wed, 8 Sep 1999 22:52:19 +0000 (22:52 +0000)]
Add OpenLDAP RCSid

25 years agoAdd -C/-CC/-R referral chasing to clients project.
Kurt Zeilenga [Wed, 8 Sep 1999 20:06:25 +0000 (20:06 +0000)]
Add -C/-CC/-R referral chasing to clients project.
-C chase with prompting
-CC chase without prompting
-R don't chase
with defaults dependent upon authentication method used.
rebind callback also needs to be extended to support SASL and
provide information for prompting purposes.  Good intro project.

25 years agoAdd OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
Kurt Zeilenga [Wed, 8 Sep 1999 19:06:24 +0000 (19:06 +0000)]
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).

25 years agodb2 flags should be u_int32_t, not int.
Kurt Zeilenga [Wed, 8 Sep 1999 17:28:02 +0000 (17:28 +0000)]
db2 flags should be u_int32_t, not int.

25 years agos/int/u_int32_t/ for db_appinit flags
Kurt Zeilenga [Mon, 6 Sep 1999 18:45:39 +0000 (18:45 +0000)]
s/int/u_int32_t/ for db_appinit flags

25 years agos/patch/path/
Kurt Zeilenga [Mon, 6 Sep 1999 18:25:48 +0000 (18:25 +0000)]
s/patch/path/

25 years agoRemove lint
Hallvard Furuseth [Mon, 6 Sep 1999 04:42:20 +0000 (04:42 +0000)]
Remove lint

25 years agoCleanup: Complete renaming lber_*() to ber_*(). Fix some sockbuf SASL code rot.
Hallvard Furuseth [Mon, 6 Sep 1999 04:33:41 +0000 (04:33 +0000)]
Cleanup: Complete renaming lber_*() to ber_*(). Fix some sockbuf SASL code rot.

25 years agoFurther trim_refs_url fixes from Hallvard. Need additional testing.
Kurt Zeilenga [Sun, 5 Sep 1999 22:32:01 +0000 (22:32 +0000)]
Further trim_refs_url fixes from Hallvard.  Need additional testing.

25 years agoFix = vs == bug
Kurt Zeilenga [Sun, 5 Sep 1999 22:13:22 +0000 (22:13 +0000)]
Fix = vs == bug

25 years agoKill //-style comments
Hallvard Furuseth [Sun, 5 Sep 1999 20:53:13 +0000 (20:53 +0000)]
Kill //-style comments

25 years agoDisable REFERRALS. Should add -C/-CC/-R options (chase w/ prompting,
Kurt Zeilenga [Sun, 5 Sep 1999 19:20:01 +0000 (19:20 +0000)]
Disable REFERRALS.  Should add -C/-CC/-R options (chase w/ prompting,
chase w/o prompting, disable referrals).

25 years agoRemove misplaced sockpair.c
Kurt Zeilenga [Sun, 5 Sep 1999 19:17:42 +0000 (19:17 +0000)]
Remove misplaced sockpair.c

25 years agoHandle unknown syntaxes as binary
Hallvard Furuseth [Sat, 4 Sep 1999 22:19:09 +0000 (22:19 +0000)]
Handle unknown syntaxes as binary

25 years agoAccept unknown object classes
Hallvard Furuseth [Sat, 4 Sep 1999 21:41:27 +0000 (21:41 +0000)]
Accept unknown object classes

25 years agoSome constification & lint removal
Hallvard Furuseth [Sat, 4 Sep 1999 21:15:49 +0000 (21:15 +0000)]
Some constification & lint removal

25 years agoChange -d option to not detach even with -d 0 or compiled with --disable-debug.
Hallvard Furuseth [Sat, 4 Sep 1999 20:24:40 +0000 (20:24 +0000)]
Change -d option to not detach even with -d 0 or compiled with --disable-debug.

25 years agoRemove #if 0 used to hide dn subtree index problem. Fixed
Kurt Zeilenga [Sat, 4 Sep 1999 01:19:58 +0000 (01:19 +0000)]
Remove #if 0 used to hide dn subtree index problem.  Fixed
by Hallvard's IDL changes!

25 years agoMove `#include "ldap_defaults.h"' into slap.h, which #ifdefs on it.
Hallvard Furuseth [Fri, 3 Sep 1999 23:10:05 +0000 (23:10 +0000)]
Move `#include "ldap_defaults.h"' into slap.h, which #ifdefs on it.

25 years agoIntroduce and use LDAP_GCCATTR() = __attributes__() in gcc
Hallvard Furuseth [Fri, 3 Sep 1999 21:06:33 +0000 (21:06 +0000)]
Introduce and use LDAP_GCCATTR() = __attributes__() in gcc

25 years agoRemove incorrect use of <matched> entry
Hallvard Furuseth [Fri, 3 Sep 1999 20:25:58 +0000 (20:25 +0000)]
Remove incorrect use of <matched> entry

25 years ago<url> was used uninitialized
Hallvard Furuseth [Fri, 3 Sep 1999 20:19:18 +0000 (20:19 +0000)]
<url> was used uninitialized

25 years agoCopy back-ldbm patches 1.37 (idl_insert_key returncodes) & 1.38 (SAFEMEMCPY bug)
Hallvard Furuseth [Fri, 3 Sep 1999 11:17:21 +0000 (11:17 +0000)]
Copy back-ldbm patches 1.37 (idl_insert_key returncodes) & 1.38 (SAFEMEMCPY bug)

25 years agoFix SAFEMEMCPY bug from revision 1.32 in idl_insert()
Hallvard Furuseth [Fri, 3 Sep 1999 11:01:18 +0000 (11:01 +0000)]
Fix SAFEMEMCPY bug from revision 1.32 in idl_insert()

25 years agoBackout rev 1.37 change which was committed by mistake.
Kurt Zeilenga [Fri, 3 Sep 1999 05:31:43 +0000 (05:31 +0000)]
Backout rev 1.37 change which was committed by mistake.

25 years agoPlug memory leaks when modrdn failure. Fix Typo in debug message.
Hallvard Furuseth [Fri, 3 Sep 1999 05:12:24 +0000 (05:12 +0000)]
Plug memory leaks when modrdn failure.   Fix Typo in debug message.

25 years agoFix extraneous call to ldap_msgfree.
Howard Chu [Thu, 2 Sep 1999 12:08:43 +0000 (12:08 +0000)]
Fix extraneous call to ldap_msgfree.

25 years agoFix: obey be->be_readonly. Also add & obey global_readonly.
Hallvard Furuseth [Thu, 2 Sep 1999 10:39:51 +0000 (10:39 +0000)]
Fix: obey be->be_readonly.  Also add & obey global_readonly.

25 years agoAdd missing * in last commit
Kurt Zeilenga [Thu, 2 Sep 1999 08:40:22 +0000 (08:40 +0000)]
Add missing * in last commit

25 years agoFix Debug printf format
Hallvard Furuseth [Thu, 2 Sep 1999 08:11:54 +0000 (08:11 +0000)]
Fix Debug printf format

25 years agoCleanup:
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.

25 years agoFix str2lower() -> ldap_pvt_str2lower()
Hallvard Furuseth [Thu, 2 Sep 1999 07:43:31 +0000 (07:43 +0000)]
Fix str2lower() -> ldap_pvt_str2lower()

25 years agoFix ber_pvt_sb_udp_set_dst() argument
Hallvard Furuseth [Thu, 2 Sep 1999 07:41:58 +0000 (07:41 +0000)]
Fix ber_pvt_sb_udp_set_dst() argument

25 years agoFix typo in lutil_debug_file()
Hallvard Furuseth [Thu, 2 Sep 1999 07:40:25 +0000 (07:40 +0000)]
Fix typo in lutil_debug_file()

25 years agoAdd ldap_rename() and ldap_rename_s() prototypes
Hallvard Furuseth [Thu, 2 Sep 1999 07:38:06 +0000 (07:38 +0000)]
Add ldap_rename() and ldap_rename_s() prototypes

25 years agoRemove unused vars/function
Hallvard Furuseth [Thu, 2 Sep 1999 07:36:17 +0000 (07:36 +0000)]
Remove unused vars/function

25 years agoAxe <varargs.h> support: Don't use LDAP_P() on varargs prototype.
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.

25 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.

25 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

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

25 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.

25 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.

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

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

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

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

25 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.

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

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

25 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)

25 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

25 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.

25 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.

25 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.

25 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.

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

25 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.

25 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

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

25 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.

25 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.

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

25 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

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

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

25 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.

25 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.

25 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.

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

25 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)

25 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)

25 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.

25 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.

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

25 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

25 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.

25 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().

25 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.

25 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.

25 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().

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

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

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

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

25 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()

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

25 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.

25 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

25 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

25 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.

25 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)