Pierangelo Masarati
5c9eb73df7
make sure we got the right control...
2006-09-11 00:06:03 +00:00
Howard Chu
c6ed29dc3c
Fix uninit'd *cb (Coverity scan)
2006-09-09 22:15:45 +00:00
Pierangelo Masarati
0e13519191
ld may legitimately be NULL if another operation freed it because of a failure while binding
2006-09-09 17:01:28 +00:00
Pierangelo Masarati
c826725b7a
don't bother about unregistering stuff during shutdown
2006-09-09 16:25:32 +00:00
Pierangelo Masarati
8eab487020
further improve monitoring setup and cleanup
2006-09-09 16:24:35 +00:00
Pierangelo Masarati
2dac2e27b5
- 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.
2006-09-09 16:23:02 +00:00
Pierangelo Masarati
fdddeb1d8f
minor cleanup
2006-09-09 16:20:11 +00:00
Pierangelo Masarati
9aae5fda23
rename functions/macros (no impact, they're currently unused)
2006-09-09 16:16:27 +00:00
Pierangelo Masarati
4bbffd1d98
more cleanup; add the frontend to the set of monitored databases; handle exceptional cases a bit more smoothly
2006-09-09 02:35:58 +00:00
Pierangelo Masarati
67dd808730
fix entry unlock in case of unhandled scope (ITS#4668)
2006-09-09 00:10:43 +00:00
Pierangelo Masarati
ad4ba42524
support "subordinate" scope
2006-09-09 00:00:44 +00:00
Howard Chu
f82ee25ec1
ITS#4667 in connection_closing, release c_mutex to allow waiters
...
to clear out.
2006-09-08 23:31:53 +00:00
Howard Chu
da6a4bcd3e
ITS#4667 fix assert in connection_next() for PENDING connections
2006-09-08 23:30:31 +00:00
Pierangelo Masarati
4350ce5189
cleanup names
2006-09-08 22:10:49 +00:00
Pierangelo Masarati
0e385af975
- 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
2006-09-08 22:02:32 +00:00
Pierangelo Masarati
16043971ef
some overlay (rwm?) might set those values
2006-09-08 21:19:47 +00:00
Pierangelo Masarati
a9c4b54f1b
really really minor cleanup
2006-09-08 21:19:05 +00:00
Pierangelo Masarati
edd99f13f4
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
2006-09-08 20:49:00 +00:00
Pierangelo Masarati
4efbb9960c
point to slapd(8) for details on "-d"
2006-09-08 18:26:57 +00:00
Pierangelo Masarati
eb30ec43e8
re-enable "-d '?'" as a means to list what loglevels are available (ITS#4666)
2006-09-08 18:26:20 +00:00
Pierangelo Masarati
d5bb38f7e5
complain if "-T" is not the first option
2006-09-08 18:25:34 +00:00
Pierangelo Masarati
c3f9d68027
re-enable "-d '?'" as a means to list what loglevels are available (ITS#4666)
2006-09-08 18:10:53 +00:00
Pierangelo Masarati
b60990780f
custom monitoring can be enabled/disabled via config
2006-09-06 23:08:57 +00:00
Pierangelo Masarati
4d55aeb57c
cleanup subsystems monitoring OID handling
2006-09-06 16:06:49 +00:00
Pierangelo Masarati
df730d8538
check return values (failing when filter invalid)
2006-09-06 15:12:36 +00:00
Pierangelo Masarati
103485bf99
fix use with back-hdb
2006-09-06 15:11:54 +00:00
Pierangelo Masarati
1fc5e8e057
cleanup monitoring resources
2006-09-06 12:07:03 +00:00
Pierangelo Masarati
127ac65c44
implement support for unregistering registered stuff
2006-09-06 12:06:42 +00:00
Pierangelo Masarati
829685e218
improve previous commit
2006-09-06 12:05:38 +00:00
Pierangelo Masarati
ae20e41b70
fix outdated comments
2006-09-06 12:04:52 +00:00
Pierangelo Masarati
d12f5fbcb5
add scope helpers
2006-09-06 12:04:33 +00:00
Pierangelo Masarati
6ce47650c9
- objectClass is now AUXILIARY (modifies existing object...)
...
- moved directory path publication from back-monitor/database.c
- added cleanup handler
- minor cleanup
2006-09-06 09:10:46 +00:00
Pierangelo Masarati
1f201f2cb4
remove dependencies on back-{b,h}db
2006-09-06 09:09:03 +00:00
Pierangelo Masarati
70624690c3
add attr_normalize*() helper (please holler if I missed any obvious alternative)
2006-09-06 09:06:50 +00:00
Howard Chu
9c2c30f541
Return current entry/IDL cache counts
2006-09-06 03:37:13 +00:00
Pierangelo Masarati
c67913ce1c
don't get mad if monitor database is not configured
2006-09-06 02:14:32 +00:00
Pierangelo Masarati
ae1481ba62
minor cleanup; plug couple of one-time leaks
2006-09-06 02:06:45 +00:00
Pierangelo Masarati
55f24ce8f6
- 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.
2006-09-06 01:54:54 +00:00
Pierangelo Masarati
e1b83c881c
better handling of randomness
2006-09-04 08:40:40 +00:00
Pierangelo Masarati
3b3070d223
cleanup handling of sleeps
2006-09-04 08:36:16 +00:00
Pierangelo Masarati
d25dfcbe92
append logs
2006-09-04 08:29:47 +00:00
Pierangelo Masarati
84d6a04c91
improve timeout support (ITS#4157, ITS#4663)
2006-09-04 08:26:09 +00:00
Pierangelo Masarati
150a4f106c
improve timeout support (ITS#4157, ITS#4663); manpage cleanup
2006-09-04 08:24:05 +00:00
Pierangelo Masarati
35f8b9c9f5
release authz resources at shutdown
2006-09-04 07:20:59 +00:00
Pierangelo Masarati
0d2e2772d5
move req2op selection into a helper
2006-09-04 07:17:34 +00:00
Pierangelo Masarati
8129f7e2f2
fix arg format; better trace logging...
2006-09-03 11:14:37 +00:00
Pierangelo Masarati
906ff0d51a
don't abandon binds in progress; rather unbind (ITS#4663).
...
Better logging for tracing
2006-09-03 11:04:27 +00:00
Pierangelo Masarati
00c2498543
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...
2006-09-03 11:02:15 +00:00
Pierangelo Masarati
3a83c813df
use preallocated entries? (otherwise bdb_add and others leak...)
2006-09-03 10:58:13 +00:00
Pierangelo Masarati
d95b88da21
plug slapo-ppolicy related leaks (ITS#4665)
2006-09-03 10:53:38 +00:00