Howard Chu
f92dc7b5fa
Partially revert prev commit, just omit the sl_mem_destroy
2007-01-27 18:38:24 +00:00
Howard Chu
2ec71598cd
Don't muck with sl_mem
2007-01-25 10:33:28 +00:00
Howard Chu
540878020a
Fix call to connection_fake_init, plug leak
2007-01-25 10:01:51 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Pierangelo Masarati
6193ee4003
don't leak callbacks if stuff cannot be registered; provide a means to dispose of private stuff if required
2006-12-24 15:44:56 +00:00
Kurt Zeilenga
80d74dc2cd
Monitor attributes should have dSAOperation usage,
...
not directoryOperation usage. Update test000 to
request return of only @monitor attributes.
2006-12-08 02:30:11 +00:00
Howard Chu
4b6a3e8b6d
Convert schema parsers to ConfigArgs so they can pass errors back to clients
2006-11-15 01:18:37 +00:00
Pierangelo Masarati
f34d418ced
more good looking error messages
2006-09-15 00:16:35 +00:00
Howard Chu
ef271979a8
Use register_at / register_oc helpers
2006-09-13 13:05:19 +00:00
Howard Chu
2bfe79fe88
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.
2006-09-13 11:38:51 +00:00
Pierangelo Masarati
c826725b7a
don't bother about unregistering stuff during shutdown
2006-09-09 16:25:32 +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
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
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
127ac65c44
implement support for unregistering registered stuff
2006-09-06 12:06:42 +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
Howard Chu
0af1940f3f
plug leaks
2006-03-31 12:20:04 +00:00
Howard Chu
8cbd5ecc13
Cleanup
2006-03-31 10:45:23 +00:00
Howard Chu
797cffb9b3
Add monitor_entry_stub() for creating entries. Fix conn peer/local mismatch.
2006-01-12 08:40:09 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Kurt Zeilenga
d24a5f6f0f
Update description
2005-11-27 02:10:01 +00:00
Howard Chu
21f91438b6
Drop monitor_back_db_config()
2005-11-26 23:35:45 +00:00
Pierangelo Masarati
1762f730fc
partially revert commit
2005-11-16 00:49:54 +00:00
Pierangelo Masarati
6495247869
initialize back-monitor only if configured (so resources get released at shutdown)
2005-11-14 19:28:28 +00:00
Pierangelo Masarati
2f63454973
don't leak on exit
2005-11-03 15:08:23 +00:00
Kurt Zeilenga
6db7e605ee
Align Operation buffers using LBER_ALIGNED_BUFFER
2005-10-12 23:17:28 +00:00
Pierangelo Masarati
3093f97767
fix messages in previous commit
2005-09-08 14:32:09 +00:00
Pierangelo Masarati
5f20374de1
reject registrations when back-monitor is not configured
2005-09-08 14:23:35 +00:00
Pierangelo Masarati
9baa6f4c99
don't let back-monitor appear __after__ a database that hides it; currently, only <suffix ""> :-( ; make error messages more descriptive
2005-08-30 10:38:11 +00:00
Pierangelo Masarati
9f1703d0d3
more (in)sanity stuff
2005-08-08 22:49:54 +00:00
Hallvard Furuseth
7843e7fbb2
Destroy monitor_info.mi_cache_mutex
2005-08-08 21:29:13 +00:00
Pierangelo Masarati
c984c229d6
plug more one-time leaks; rearrange subsystems setup
2005-08-08 20:45:10 +00:00
Pierangelo Masarati
b286c9264b
plug another one-time leak
2005-08-08 20:01:04 +00:00
Pierangelo Masarati
47d39181d6
cleanup
2005-08-06 21:03:26 +00:00
Pierangelo Masarati
5aadfdfedb
add back-config suppor to back-monitor; advertize what backends provide back-config support; HEADS-UP: changed monitor OIDs (reflected in OID repository)
2005-07-23 15:29:16 +00:00
Pierangelo Masarati
3df83d7089
destroy cache on exit
2005-07-20 14:59:56 +00:00
Pierangelo Masarati
0f18805d65
Memory cleanup
2005-07-19 14:39:43 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Pierangelo Masarati
f505aec4bc
publish updateref...
2005-05-21 14:54:11 +00:00
Kurt Zeilenga
ccbf18b7d0
Don't split description across multiple values.
2005-05-09 19:07:42 +00:00
Pierangelo Masarati
dde3f1ad3f
cleanup ident string
2005-05-06 17:11:40 +00:00
Pierangelo Masarati
2c8829b8ca
add "monitorIsShadow" (ITS#3696); more to come (see discussion)
2005-05-04 09:27:22 +00:00
Pierangelo Masarati
8045a0882e
anticipate monitor schema definition
2005-04-29 20:29:59 +00:00
Pierangelo Masarati
50f3fe14db
perform internal operations as rootdn, if any
2005-04-29 01:42:24 +00:00
Pierangelo Masarati
cb291bb940
refactor ABI for arbitrary attribute/entry/callback registration; propagate pointers to Operation and SlapReply structures to entry create/update/modify callbacks; cleanup
2005-04-27 21:30:35 +00:00
Pierangelo Masarati
fee10862c3
fix attributeType DESC; #ifdef the legacy monitoredInfo
2005-04-27 18:33:22 +00:00
Pierangelo Masarati
27adc4b1a3
explode connection monitored info into dedicated attributes
2005-04-27 17:51:54 +00:00
Pierangelo Masarati
145221472e
cleanup entity registration
2005-04-27 02:43:38 +00:00
Howard Chu
119cbcaba4
Schema unparsing support
2005-03-21 08:31:48 +00:00