]> git.sur5r.net Git - openldap/log
openldap
18 years agomirrormode is still single-master, but must be enforced externally
Howard Chu [Fri, 6 Oct 2006 21:08:25 +0000 (21:08 +0000)]
mirrormode is still single-master, but must be enforced externally

18 years agofive forms.
Quanah Gibson-Mount [Fri, 6 Oct 2006 02:04:07 +0000 (02:04 +0000)]
five forms.

18 years agoITS#4695 same fix for delta-sync
Howard Chu [Fri, 6 Oct 2006 01:57:50 +0000 (01:57 +0000)]
ITS#4695 same fix for delta-sync

18 years agoNobody expects the Spanish Inquisition! s/three/four/
Howard Chu [Fri, 6 Oct 2006 01:45:03 +0000 (01:45 +0000)]
Nobody expects the Spanish Inquisition! s/three/four/

18 years agoITS#4695 fix modrdn newSup
Howard Chu [Thu, 5 Oct 2006 03:56:23 +0000 (03:56 +0000)]
ITS#4695 fix modrdn newSup

18 years agoIncorporate a bit of text from RFC 4524, just to make a point regarding
Kurt Zeilenga [Tue, 3 Oct 2006 21:23:02 +0000 (21:23 +0000)]
Incorporate a bit of text from RFC 4524, just to make a point regarding
ITS#4693.

18 years agoITS#4692 entries without pwdChangedTime attribute have non-expiring pw
Howard Chu [Tue, 3 Oct 2006 09:25:54 +0000 (09:25 +0000)]
ITS#4692 entries without pwdChangedTime attribute have non-expiring pw

18 years agoAnother test
Kurt Zeilenga [Sat, 30 Sep 2006 23:41:03 +0000 (23:41 +0000)]
Another test

18 years agoForce commit (test)
Kurt Zeilenga [Sat, 30 Sep 2006 21:20:53 +0000 (21:20 +0000)]
Force commit (test)

18 years agofix rebind with idassert when a connection expires; also, fix override
Pierangelo Masarati [Sat, 30 Sep 2006 01:11:19 +0000 (01:11 +0000)]
fix rebind with idassert when a connection expires; also, fix override

18 years agoDB_BUFFER_SMALL is BDB 4.4 only
Pierangelo Masarati [Wed, 27 Sep 2006 12:34:00 +0000 (12:34 +0000)]
DB_BUFFER_SMALL is BDB 4.4 only

18 years agoCheck for the correct return code of cursor->c_get() (DB_BUFFER_SMALL)
Ralf Haferkamp [Wed, 27 Sep 2006 10:51:06 +0000 (10:51 +0000)]
Check for the correct return code of cursor->c_get() (DB_BUFFER_SMALL)

18 years agofix ITS#4686 (retry with idassert)
Pierangelo Masarati [Tue, 26 Sep 2006 15:12:07 +0000 (15:12 +0000)]
fix ITS#4686 (retry with idassert)

18 years agofix ITS#4686 (retry with idassert)
Pierangelo Masarati [Tue, 26 Sep 2006 14:51:47 +0000 (14:51 +0000)]
fix ITS#4686 (retry with idassert)

18 years agodon't know exactly the reason, but here without this back-hdb suddenly starts crashin...
Pierangelo Masarati [Tue, 26 Sep 2006 08:43:01 +0000 (08:43 +0000)]
don't know exactly the reason, but here without this back-hdb suddenly starts crashings all times (since bdb_monitor_* stuff)

18 years agodocument VERSION, TIMEOUT and NETWORK_TIMEOUT options
Pierangelo Masarati [Tue, 26 Sep 2006 02:54:34 +0000 (02:54 +0000)]
document VERSION, TIMEOUT and NETWORK_TIMEOUT options

18 years agoadd support for VERSION, TIMEOUT and NETWORK_TIMEOUT in ldap.conf
Pierangelo Masarati [Tue, 26 Sep 2006 02:34:36 +0000 (02:34 +0000)]
add support for VERSION, TIMEOUT and NETWORK_TIMEOUT in ldap.conf

18 years agouse AC_LINE_MAX
Pierangelo Masarati [Tue, 26 Sep 2006 00:33:44 +0000 (00:33 +0000)]
use AC_LINE_MAX

18 years agouse right, although empty, function in bdb_db_destroy()
Pierangelo Masarati [Mon, 25 Sep 2006 23:45:29 +0000 (23:45 +0000)]
use right, although empty, function in bdb_db_destroy()

18 years agonot sure, but I believe back-hdb needs monitor.c as well...
Pierangelo Masarati [Mon, 25 Sep 2006 23:44:50 +0000 (23:44 +0000)]
not sure, but I believe back-hdb needs monitor.c as well...

18 years agomonitor max file descriptor number
Pierangelo Masarati [Mon, 25 Sep 2006 23:44:17 +0000 (23:44 +0000)]
monitor max file descriptor number

18 years agodocument the LDAP builtin map in librewrite (ITS#4602)
Pierangelo Masarati [Sun, 24 Sep 2006 17:50:48 +0000 (17:50 +0000)]
document the LDAP builtin map in librewrite (ITS#4602)

18 years agofurther cleanup
Pierangelo Masarati [Sun, 24 Sep 2006 17:26:17 +0000 (17:26 +0000)]
further cleanup

18 years agofix previous commit
Pierangelo Masarati [Sat, 23 Sep 2006 16:10:07 +0000 (16:10 +0000)]
fix previous commit

18 years agofix potential double free in case of error
Pierangelo Masarati [Sat, 23 Sep 2006 15:43:55 +0000 (15:43 +0000)]
fix potential double free in case of error

18 years agoimprove functionality of LDAP map: allow protocol version
Pierangelo Masarati [Sat, 23 Sep 2006 13:04:55 +0000 (13:04 +0000)]
improve functionality of LDAP map: allow protocol version

18 years agofix way long standing bug in args parsing
Pierangelo Masarati [Sat, 23 Sep 2006 12:33:03 +0000 (12:33 +0000)]
fix way long standing bug in args parsing

18 years agoadd URL parsing test tool
Pierangelo Masarati [Sat, 23 Sep 2006 11:44:16 +0000 (11:44 +0000)]
add URL parsing test tool

18 years agoITS#4677 Fix typo
Kurt Zeilenga [Fri, 22 Sep 2006 21:50:23 +0000 (21:50 +0000)]
ITS#4677 Fix typo

18 years agoFix typo
Kurt Zeilenga [Fri, 22 Sep 2006 20:39:35 +0000 (20:39 +0000)]
Fix typo

18 years agoITS#4679 cleanup
Kurt Zeilenga [Thu, 21 Sep 2006 20:02:55 +0000 (20:02 +0000)]
ITS#4679 cleanup
Note: the caller is expected to pass in a valid LDAP handle.  If not,
the assert will trigger to let him know his code is broken.

18 years agoJust include one or the other of poll.h or sys/poll.h
Howard Chu [Thu, 21 Sep 2006 18:00:01 +0000 (18:00 +0000)]
Just include one or the other of poll.h or sys/poll.h

18 years agoITS#4674 fix poll detection
Howard Chu [Thu, 21 Sep 2006 17:54:37 +0000 (17:54 +0000)]
ITS#4674 fix poll detection

18 years agoTweak prev commit, avoid referencing syncop when resetting qtask
Howard Chu [Thu, 21 Sep 2006 10:12:42 +0000 (10:12 +0000)]
Tweak prev commit, avoid referencing syncop when resetting qtask

18 years agoITS#4658 propagate errors from syncprov_sendresp; drop qtask on errors.
Howard Chu [Thu, 21 Sep 2006 09:42:40 +0000 (09:42 +0000)]
ITS#4658 propagate errors from syncprov_sendresp; drop qtask on errors.
Note: need a way to close the connection too.

18 years agosend_search_reference should propagate errors
Howard Chu [Thu, 21 Sep 2006 09:28:49 +0000 (09:28 +0000)]
send_search_reference should propagate errors

18 years agoadd support for "sambaPwdCanChange"
Luca Scamoni [Thu, 21 Sep 2006 09:17:05 +0000 (09:17 +0000)]
add support for "sambaPwdCanChange"

18 years agoFix prev commit
Howard Chu [Wed, 20 Sep 2006 20:22:59 +0000 (20:22 +0000)]
Fix prev commit

18 years agoUse a single malloc for entry_decode instead of two - partially decode
Howard Chu [Wed, 20 Sep 2006 02:43:47 +0000 (02:43 +0000)]
Use a single malloc for entry_decode instead of two - partially decode
the entry to get nvals first, so the size can be computed.

18 years agotypo in previous commit...
Pierangelo Masarati [Sun, 17 Sep 2006 22:24:41 +0000 (22:24 +0000)]
typo in previous commit...

18 years agosupport for Solaris' /dev/poll (need to manually define SLAP_X_DEVPOLL; needs work...
Pierangelo Masarati [Sun, 17 Sep 2006 22:17:34 +0000 (22:17 +0000)]
support for Solaris' /dev/poll (need to manually define SLAP_X_DEVPOLL; needs work yet)

18 years agoreorganize select interface (ready for /dev/poll)
Pierangelo Masarati [Sun, 17 Sep 2006 22:09:50 +0000 (22:09 +0000)]
reorganize select interface (ready for /dev/poll)

18 years agodetect, but don't use, Solaris' /dev/poll
Pierangelo Masarati [Sun, 17 Sep 2006 22:09:19 +0000 (22:09 +0000)]
detect, but don't use, Solaris' /dev/poll

18 years agomake sure we don't interfere with frontend's entry when the suffix is empty (test027)
Pierangelo Masarati [Sun, 17 Sep 2006 16:45:24 +0000 (16:45 +0000)]
make sure we don't interfere with frontend's entry when the suffix is empty (test027)

18 years agominor cleanup
Pierangelo Masarati [Sun, 17 Sep 2006 16:44:40 +0000 (16:44 +0000)]
minor cleanup

18 years agoCheck opattrs add result
Kurt Zeilenga [Sat, 16 Sep 2006 17:20:29 +0000 (17:20 +0000)]
Check opattrs add result

18 years agoreturn structuralObjectClass errors
Kurt Zeilenga [Sat, 16 Sep 2006 11:48:52 +0000 (11:48 +0000)]
return structuralObjectClass errors
(likely need to be applied to other backends)

18 years agoprivate database inherits monitoring from underlying one
Pierangelo Masarati [Fri, 15 Sep 2006 00:23:14 +0000 (00:23 +0000)]
private database inherits monitoring from underlying one

18 years agoalso work with pcache
Pierangelo Masarati [Fri, 15 Sep 2006 00:16:55 +0000 (00:16 +0000)]
also work with pcache

18 years agomore good looking error messages
Pierangelo Masarati [Fri, 15 Sep 2006 00:16:35 +0000 (00:16 +0000)]
more good looking error messages

18 years agodestroy exactly what needs to
Pierangelo Masarati [Thu, 14 Sep 2006 23:53:23 +0000 (23:53 +0000)]
destroy exactly what needs to

18 years agofix one-time leak
Pierangelo Masarati [Thu, 14 Sep 2006 22:50:07 +0000 (22:50 +0000)]
fix one-time leak

18 years agoAdditional fix for ITS#4673
Howard Chu [Thu, 14 Sep 2006 22:38:45 +0000 (22:38 +0000)]
Additional fix for ITS#4673

18 years agoby now, don't bail out if monitoring cannot be set up
Pierangelo Masarati [Thu, 14 Sep 2006 22:26:37 +0000 (22:26 +0000)]
by now, don't bail out if monitoring cannot be set up

18 years agoFix invalid attributes in translucent_modify
Howard Chu [Thu, 14 Sep 2006 21:11:26 +0000 (21:11 +0000)]
Fix invalid attributes in translucent_modify

18 years agofix back-ldap monitoring
Pierangelo Masarati [Thu, 14 Sep 2006 19:56:34 +0000 (19:56 +0000)]
fix back-ldap monitoring

18 years agohandle errors
Pierangelo Masarati [Thu, 14 Sep 2006 19:55:52 +0000 (19:55 +0000)]
handle errors

18 years agomonitor __ALL__ thread parameters
Pierangelo Masarati [Thu, 14 Sep 2006 18:55:02 +0000 (18:55 +0000)]
monitor __ALL__ thread parameters

18 years agofix (temporarily) uninit'ed var
Pierangelo Masarati [Thu, 14 Sep 2006 14:58:00 +0000 (14:58 +0000)]
fix (temporarily) uninit'ed var

18 years agoRemove obsolete SLAP_FILTER_DN definitions
Howard Chu [Thu, 14 Sep 2006 09:29:29 +0000 (09:29 +0000)]
Remove obsolete SLAP_FILTER_DN definitions

18 years agocomment monitoring by now
Pierangelo Masarati [Thu, 14 Sep 2006 09:06:17 +0000 (09:06 +0000)]
comment monitoring by now

18 years agoMSVC compatibility
Howard Chu [Thu, 14 Sep 2006 08:06:49 +0000 (08:06 +0000)]
MSVC compatibility

18 years agoMSVC compatiblity
Howard Chu [Thu, 14 Sep 2006 08:06:08 +0000 (08:06 +0000)]
MSVC compatiblity

18 years agodirent emulation for MSVC
Howard Chu [Thu, 14 Sep 2006 08:01:05 +0000 (08:01 +0000)]
dirent emulation for MSVC

18 years agoPortability cleanups
Howard Chu [Thu, 14 Sep 2006 07:58:02 +0000 (07:58 +0000)]
Portability cleanups

18 years agoPortability cleanups
Howard Chu [Thu, 14 Sep 2006 07:29:46 +0000 (07:29 +0000)]
Portability cleanups

18 years agoFix prev commit
Howard Chu [Thu, 14 Sep 2006 06:47:14 +0000 (06:47 +0000)]
Fix prev commit

18 years agoITS#4606 errno is not per-thread on WIN32, always use WSAGet/SetLastError
Howard Chu [Thu, 14 Sep 2006 06:35:34 +0000 (06:35 +0000)]
ITS#4606 errno is not per-thread on WIN32, always use WSAGet/SetLastError
(with notable exceptions: ignore tests for EINTR which winsock never sets)

18 years agoITS#4606 fix sys_errlist detection on WIN32 / MSVC
Howard Chu [Thu, 14 Sep 2006 05:02:41 +0000 (05:02 +0000)]
ITS#4606 fix sys_errlist detection on WIN32 / MSVC

18 years agoITS#4565 catch errors from slap_sasl_init / backend_init
Howard Chu [Thu, 14 Sep 2006 04:52:08 +0000 (04:52 +0000)]
ITS#4565 catch errors from slap_sasl_init / backend_init

18 years agofurther cleanup
Pierangelo Masarati [Thu, 14 Sep 2006 01:07:18 +0000 (01:07 +0000)]
further cleanup

18 years agoadd basic monitoring support to back-ldap/slapo-chain (slapo-chain needs work)
Pierangelo Masarati [Thu, 14 Sep 2006 01:05:48 +0000 (01:05 +0000)]
add basic monitoring support to back-ldap/slapo-chain (slapo-chain needs work)

18 years agominor cleanup
Pierangelo Masarati [Thu, 14 Sep 2006 01:05:02 +0000 (01:05 +0000)]
minor cleanup

18 years agoURIs need to be between double quotes
Pierangelo Masarati [Thu, 14 Sep 2006 01:02:28 +0000 (01:02 +0000)]
URIs need to be between double quotes

18 years agoTweak ordered index check in check_vals
Howard Chu [Thu, 14 Sep 2006 00:31:18 +0000 (00:31 +0000)]
Tweak ordered index check in check_vals

18 years agoCleanup prev commit
Howard Chu [Thu, 14 Sep 2006 00:14:27 +0000 (00:14 +0000)]
Cleanup prev commit

18 years agoForgot the OC delete handler
Howard Chu [Thu, 14 Sep 2006 00:09:46 +0000 (00:09 +0000)]
Forgot the OC delete handler

18 years agoSupport dynamic add/delete of attributeTypes and objectClasses
Howard Chu [Thu, 14 Sep 2006 00:06:04 +0000 (00:06 +0000)]
Support dynamic add/delete of attributeTypes and objectClasses

18 years agoUse register_at / register_oc
Howard Chu [Wed, 13 Sep 2006 13:38:24 +0000 (13:38 +0000)]
Use register_at / register_oc

18 years agoUse register_at / register_oc
Howard Chu [Wed, 13 Sep 2006 13:26:56 +0000 (13:26 +0000)]
Use register_at / register_oc

18 years agoUse register_at / register_oc helpers
Howard Chu [Wed, 13 Sep 2006 13:05:19 +0000 (13:05 +0000)]
Use register_at / register_oc helpers

18 years agoAdd register_at / register_oc helpers.
Howard Chu [Wed, 13 Sep 2006 12:48:45 +0000 (12:48 +0000)]
Add register_at / register_oc helpers.

18 years agoAdd BackendInfo.bi_extra for backend custom APIs
Howard Chu [Wed, 13 Sep 2006 11:38:51 +0000 (11:38 +0000)]
Add BackendInfo.bi_extra for backend custom APIs
Use bi_extra for back-monitor entry points. Backends should never
directly reference each other's symbols.

18 years agoFix ITS#4672, clear errno before calling STRTOL
Howard Chu [Wed, 13 Sep 2006 05:34:38 +0000 (05:34 +0000)]
Fix ITS#4672, clear errno before calling STRTOL

18 years agoFix typo from 1.667
Howard Chu [Wed, 13 Sep 2006 05:32:42 +0000 (05:32 +0000)]
Fix typo from 1.667

18 years agodocument the syntax of the ldap.conf(5) file
Pierangelo Masarati [Tue, 12 Sep 2006 21:02:30 +0000 (21:02 +0000)]
document the syntax of the ldap.conf(5) file

18 years agouse a more reasonable max line length (ITS#4669)
Pierangelo Masarati [Tue, 12 Sep 2006 20:41:37 +0000 (20:41 +0000)]
use a more reasonable max line length (ITS#4669)

18 years agoleave monitor calls in place, hide contents; in the long run, enable monitor and...
Pierangelo Masarati [Tue, 12 Sep 2006 07:53:19 +0000 (07:53 +0000)]
leave monitor calls in place, hide contents; in the long run, enable monitor and build as static by default

18 years agoUse #ifdef SLAPD_MONITOR for monitor APIs
Howard Chu [Tue, 12 Sep 2006 02:59:28 +0000 (02:59 +0000)]
Use #ifdef SLAPD_MONITOR for monitor APIs

18 years agoFix xref broken by sasl.sdf 1.30
Howard Chu [Tue, 12 Sep 2006 00:16:52 +0000 (00:16 +0000)]
Fix xref broken by sasl.sdf 1.30

18 years agoldap_back_dobind_int() may need to free a connection
Pierangelo Masarati [Mon, 11 Sep 2006 22:45:19 +0000 (22:45 +0000)]
ldap_back_dobind_int() may need to free a connection

18 years agoIn connection_next, sockets may not be contiguous on Unix if syslog etc are
Howard Chu [Mon, 11 Sep 2006 21:19:38 +0000 (21:19 +0000)]
In connection_next, sockets may not be contiguous on Unix if syslog etc are
active. Just search to the end of the table, tracking the max isn't worth
the lock overhead.

18 years agorearrange error handling
Pierangelo Masarati [Mon, 11 Sep 2006 21:04:25 +0000 (21:04 +0000)]
rearrange error handling

18 years agoadd sb_version to slap_bindconf;
Pierangelo Masarati [Mon, 11 Sep 2006 00:52:43 +0000 (00:52 +0000)]
add sb_version to slap_bindconf;
rework slap_client_connect() and slap_discover_feature() accordingly

18 years agomake sure we got the right control...
Pierangelo Masarati [Mon, 11 Sep 2006 00:06:03 +0000 (00:06 +0000)]
make sure we got the right control...

18 years agoFix uninit'd *cb (Coverity scan)
Howard Chu [Sat, 9 Sep 2006 22:15:45 +0000 (22:15 +0000)]
Fix uninit'd *cb (Coverity scan)

18 years agold may legitimately be NULL if another operation freed it because of a failure while...
Pierangelo Masarati [Sat, 9 Sep 2006 17:01:28 +0000 (17:01 +0000)]
ld may legitimately be NULL if another operation freed it because of a failure while binding

18 years agodon't bother about unregistering stuff during shutdown
Pierangelo Masarati [Sat, 9 Sep 2006 16:25:32 +0000 (16:25 +0000)]
don't bother about unregistering stuff during shutdown

18 years agofurther improve monitoring setup and cleanup
Pierangelo Masarati [Sat, 9 Sep 2006 16:24:35 +0000 (16:24 +0000)]
further improve monitoring setup and cleanup

18 years ago- use STRLENOF, looks cleaner
Pierangelo Masarati [Sat, 9 Sep 2006 16:23:02 +0000 (16:23 +0000)]
- use STRLENOF, looks cleaner
- in case a value is incorrectly empty (technically, it's null because
  that's how it's returned by the stringification function), make enough
  room to add the error string "(null)"
- in case a value is legitimately empty (see above), use it accordingly;
  for example, a filter "(entryDN=)" is valid, so it should be possible
  to stringify it like that.