]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Wed, 8 Sep 1999 22:52:19 +0000 (22:52 +0000)]
Add OpenLDAP RCSid
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.
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).
Kurt Zeilenga [Wed, 8 Sep 1999 17:28:02 +0000 (17:28 +0000)]
db2 flags should be u_int32_t, not int.
Kurt Zeilenga [Mon, 6 Sep 1999 18:45:39 +0000 (18:45 +0000)]
s/int/u_int32_t/ for db_appinit flags
Kurt Zeilenga [Mon, 6 Sep 1999 18:25:48 +0000 (18:25 +0000)]
s/patch/path/
Hallvard Furuseth [Mon, 6 Sep 1999 04:42:20 +0000 (04:42 +0000)]
Remove lint
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.
Kurt Zeilenga [Sun, 5 Sep 1999 22:32:01 +0000 (22:32 +0000)]
Further trim_refs_url fixes from Hallvard. Need additional testing.
Kurt Zeilenga [Sun, 5 Sep 1999 22:13:22 +0000 (22:13 +0000)]
Fix = vs == bug
Hallvard Furuseth [Sun, 5 Sep 1999 20:53:13 +0000 (20:53 +0000)]
Kill //-style comments
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).
Kurt Zeilenga [Sun, 5 Sep 1999 19:17:42 +0000 (19:17 +0000)]
Remove misplaced sockpair.c
Hallvard Furuseth [Sat, 4 Sep 1999 22:19:09 +0000 (22:19 +0000)]
Handle unknown syntaxes as binary
Hallvard Furuseth [Sat, 4 Sep 1999 21:41:27 +0000 (21:41 +0000)]
Accept unknown object classes
Hallvard Furuseth [Sat, 4 Sep 1999 21:15:49 +0000 (21:15 +0000)]
Some constification & lint removal
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.
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!
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.
Hallvard Furuseth [Fri, 3 Sep 1999 21:06:33 +0000 (21:06 +0000)]
Introduce and use LDAP_GCCATTR() = __attributes__() in gcc
Hallvard Furuseth [Fri, 3 Sep 1999 20:25:58 +0000 (20:25 +0000)]
Remove incorrect use of <matched> entry
Hallvard Furuseth [Fri, 3 Sep 1999 20:19:18 +0000 (20:19 +0000)]
<url> was used uninitialized
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)
Hallvard Furuseth [Fri, 3 Sep 1999 11:01:18 +0000 (11:01 +0000)]
Fix SAFEMEMCPY bug from revision 1.32 in idl_insert()
Kurt Zeilenga [Fri, 3 Sep 1999 05:31:43 +0000 (05:31 +0000)]
Backout rev 1.37 change which was committed by mistake.
Hallvard Furuseth [Fri, 3 Sep 1999 05:12:24 +0000 (05:12 +0000)]
Plug memory leaks when modrdn failure. Fix Typo in debug message.
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.