]> git.sur5r.net Git - openldap/log
openldap
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.

18 years agominor cleanup
Pierangelo Masarati [Sat, 9 Sep 2006 16:20:11 +0000 (16:20 +0000)]
minor cleanup

18 years agorename functions/macros (no impact, they're currently unused)
Pierangelo Masarati [Sat, 9 Sep 2006 16:16:27 +0000 (16:16 +0000)]
rename functions/macros (no impact, they're currently unused)

18 years agomore cleanup; add the frontend to the set of monitored databases; handle exceptional...
Pierangelo Masarati [Sat, 9 Sep 2006 02:35:58 +0000 (02:35 +0000)]
more cleanup; add the frontend to the set of monitored databases; handle exceptional cases a bit more smoothly

18 years agofix entry unlock in case of unhandled scope (ITS#4668)
Pierangelo Masarati [Sat, 9 Sep 2006 00:10:43 +0000 (00:10 +0000)]
fix entry unlock in case of unhandled scope (ITS#4668)

18 years agosupport "subordinate" scope
Pierangelo Masarati [Sat, 9 Sep 2006 00:00:44 +0000 (00:00 +0000)]
support "subordinate" scope

18 years agoITS#4667 in connection_closing, release c_mutex to allow waiters
Howard Chu [Fri, 8 Sep 2006 23:31:53 +0000 (23:31 +0000)]
ITS#4667 in connection_closing, release c_mutex to allow waiters
to clear out.

18 years agoITS#4667 fix assert in connection_next() for PENDING connections
Howard Chu [Fri, 8 Sep 2006 23:30:31 +0000 (23:30 +0000)]
ITS#4667 fix assert in connection_next() for PENDING connections

18 years agocleanup names
Pierangelo Masarati [Fri, 8 Sep 2006 22:10:49 +0000 (22:10 +0000)]
cleanup names

18 years ago- need to be able to set new subsystems when appending entire entries;
Pierangelo Masarati [Fri, 8 Sep 2006 22:02:32 +0000 (22:02 +0000)]
- need to be able to set new subsystems when appending entire entries;
- in case we appended an entry to a yet unknown parent, we don't know
  the full DN, so unregistering needs to be possible based on the
  available data;
- complete unregister calls so that not-yet-registered stuff can be
  removed from limbo

18 years agosome overlay (rwm?) might set those values
Pierangelo Masarati [Fri, 8 Sep 2006 21:19:47 +0000 (21:19 +0000)]
some overlay (rwm?) might set those values

18 years agoreally really minor cleanup
Pierangelo Masarati [Fri, 8 Sep 2006 21:19:05 +0000 (21:19 +0000)]
really really minor cleanup

18 years agodefer handling of loglevel listing, to let modules register custom subsystems (ITS...
Pierangelo Masarati [Fri, 8 Sep 2006 20:49:00 +0000 (20:49 +0000)]
defer handling of loglevel listing, to let modules register custom subsystems (ITS#4666).  Note: in case of any error in between, logging could not occur

18 years agopoint to slapd(8) for details on "-d"
Pierangelo Masarati [Fri, 8 Sep 2006 18:26:57 +0000 (18:26 +0000)]
point to slapd(8) for details on "-d"

18 years agore-enable "-d '?'" as a means to list what loglevels are available (ITS#4666)
Pierangelo Masarati [Fri, 8 Sep 2006 18:26:20 +0000 (18:26 +0000)]
re-enable "-d '?'" as a means to list what loglevels are available (ITS#4666)

18 years agocomplain if "-T" is not the first option
Pierangelo Masarati [Fri, 8 Sep 2006 18:25:34 +0000 (18:25 +0000)]
complain if "-T" is not the first option

18 years agore-enable "-d '?'" as a means to list what loglevels are available (ITS#4666)
Pierangelo Masarati [Fri, 8 Sep 2006 18:10:53 +0000 (18:10 +0000)]
re-enable "-d '?'" as a means to list what loglevels are available (ITS#4666)

18 years agocustom monitoring can be enabled/disabled via config
Pierangelo Masarati [Wed, 6 Sep 2006 23:08:57 +0000 (23:08 +0000)]
custom monitoring can be enabled/disabled via config

18 years agocleanup subsystems monitoring OID handling
Pierangelo Masarati [Wed, 6 Sep 2006 16:06:49 +0000 (16:06 +0000)]
cleanup subsystems monitoring OID handling

18 years agocheck return values (failing when filter invalid)
Pierangelo Masarati [Wed, 6 Sep 2006 15:12:36 +0000 (15:12 +0000)]
check return values (failing when filter invalid)

18 years agofix use with back-hdb
Pierangelo Masarati [Wed, 6 Sep 2006 15:11:54 +0000 (15:11 +0000)]
fix use with back-hdb

18 years agocleanup monitoring resources
Pierangelo Masarati [Wed, 6 Sep 2006 12:07:03 +0000 (12:07 +0000)]
cleanup monitoring resources

18 years agoimplement support for unregistering registered stuff
Pierangelo Masarati [Wed, 6 Sep 2006 12:06:42 +0000 (12:06 +0000)]
implement support for unregistering registered stuff

18 years agoimprove previous commit
Pierangelo Masarati [Wed, 6 Sep 2006 12:05:38 +0000 (12:05 +0000)]
improve previous commit

18 years agofix outdated comments
Pierangelo Masarati [Wed, 6 Sep 2006 12:04:52 +0000 (12:04 +0000)]
fix outdated comments

18 years agoadd scope helpers
Pierangelo Masarati [Wed, 6 Sep 2006 12:04:33 +0000 (12:04 +0000)]
add scope helpers

18 years ago- objectClass is now AUXILIARY (modifies existing object...)
Pierangelo Masarati [Wed, 6 Sep 2006 09:10:46 +0000 (09:10 +0000)]
- objectClass is now AUXILIARY (modifies existing object...)
- moved directory path publication from back-monitor/database.c
- added cleanup handler
- minor cleanup

18 years agoremove dependencies on back-{b,h}db
Pierangelo Masarati [Wed, 6 Sep 2006 09:09:03 +0000 (09:09 +0000)]
remove dependencies on back-{b,h}db

18 years agoadd attr_normalize*() helper (please holler if I missed any obvious alternative)
Pierangelo Masarati [Wed, 6 Sep 2006 09:06:50 +0000 (09:06 +0000)]
add attr_normalize*() helper (please holler if I missed any obvious alternative)

18 years agoReturn current entry/IDL cache counts
Howard Chu [Wed, 6 Sep 2006 03:37:13 +0000 (03:37 +0000)]
Return current entry/IDL cache counts

18 years agodon't get mad if monitor database is not configured
Pierangelo Masarati [Wed, 6 Sep 2006 02:14:32 +0000 (02:14 +0000)]
don't get mad if monitor database is not configured

18 years agominor cleanup; plug couple of one-time leaks
Pierangelo Masarati [Wed, 6 Sep 2006 02:06:45 +0000 (02:06 +0000)]
minor cleanup; plug couple of one-time leaks

18 years ago- setup framework for monitoring of back-bdb/back-hdb stuff in their
Pierangelo Masarati [Wed, 6 Sep 2006 01:54:54 +0000 (01:54 +0000)]
- setup framework for monitoring of back-bdb/back-hdb stuff in their
  database entry in cn=monitor
- improve support for custom attribute/callback registration
  in back-monitor
- design API for registered antry/attr/callback removal in back-monitor

HEADS UP: now back-bdb requires back-monitor to be present, either static
or dynamically loaded __before__ back-bdb/back-hdb is initialized.
This works for sure if both back-bdb & back-monitor are static or dynamic
(provided back-monitor.la is loaded before back_bdb.la); it is not clear
what happens if back-bdb is static and back-monitor is dynamic.  In case,
either make back-bdb monitoring conditional, or hardwire back-monitor
much like back-config and back-ldif.

18 years agobetter handling of randomness
Pierangelo Masarati [Mon, 4 Sep 2006 08:40:40 +0000 (08:40 +0000)]
better handling of randomness

18 years agocleanup handling of sleeps
Pierangelo Masarati [Mon, 4 Sep 2006 08:36:16 +0000 (08:36 +0000)]
cleanup handling of sleeps

18 years agoappend logs
Pierangelo Masarati [Mon, 4 Sep 2006 08:29:47 +0000 (08:29 +0000)]
append logs

18 years agoimprove timeout support (ITS#4157, ITS#4663)
Pierangelo Masarati [Mon, 4 Sep 2006 08:26:09 +0000 (08:26 +0000)]
improve timeout support (ITS#4157, ITS#4663)

18 years agoimprove timeout support (ITS#4157, ITS#4663); manpage cleanup
Pierangelo Masarati [Mon, 4 Sep 2006 08:24:05 +0000 (08:24 +0000)]
improve timeout support (ITS#4157, ITS#4663); manpage cleanup

18 years agorelease authz resources at shutdown
Pierangelo Masarati [Mon, 4 Sep 2006 07:20:59 +0000 (07:20 +0000)]
release authz resources at shutdown

18 years agomove req2op selection into a helper
Pierangelo Masarati [Mon, 4 Sep 2006 07:17:34 +0000 (07:17 +0000)]
move req2op selection into a helper

18 years agofix arg format; better trace logging...
Pierangelo Masarati [Sun, 3 Sep 2006 11:14:37 +0000 (11:14 +0000)]
fix arg format; better trace logging...

18 years agodon't abandon binds in progress; rather unbind (ITS#4663).
Pierangelo Masarati [Sun, 3 Sep 2006 11:04:27 +0000 (11:04 +0000)]
don't abandon binds in progress; rather unbind (ITS#4663).
Better logging for tracing

18 years agoback-ldap should only touch the connection timestamp when activity actually occurred...
Pierangelo Masarati [Sun, 3 Sep 2006 11:02:15 +0000 (11:02 +0000)]
back-ldap should only touch the connection timestamp when activity actually occurred (i.e. ldap_result() returned a positive value), otherwise if "the network cable is removed after the connection is established" ldap_result() keeps returning 0 forever...

18 years agouse preallocated entries? (otherwise bdb_add and others leak...)
Pierangelo Masarati [Sun, 3 Sep 2006 10:58:13 +0000 (10:58 +0000)]
use preallocated entries? (otherwise bdb_add and others leak...)

18 years agoplug slapo-ppolicy related leaks (ITS#4665)
Pierangelo Masarati [Sun, 3 Sep 2006 10:53:38 +0000 (10:53 +0000)]
plug slapo-ppolicy related leaks (ITS#4665)

18 years agoplug leaks in search filter (and cleanup code; ITS#4664)
Pierangelo Masarati [Sun, 3 Sep 2006 10:45:07 +0000 (10:45 +0000)]
plug leaks in search filter (and cleanup code; ITS#4664)

18 years agobetter function name
Pierangelo Masarati [Fri, 1 Sep 2006 16:21:20 +0000 (16:21 +0000)]
better function name

18 years agokeep count of requests in use
Pierangelo Masarati [Fri, 1 Sep 2006 14:00:58 +0000 (14:00 +0000)]
keep count of requests in use