Commit Graph

409 Commits

Author SHA1 Message Date
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Howard Chu
42e3bedbf2 ITS#7182 new entry points should just be appended to monitor_extra_t 2012-04-18 11:52:38 -07:00
Ondrej Kuznik
e8d913110d ITS#7182 Remove monitor_info_t from params for monitor_entry_stub. 2012-04-18 11:44:36 -07:00
Ondrej Kuznik
838a7f5138 ITS#7182 allow for later monitor subsystem registration
Some databases might want to register their subsystems under the dn
allocated for them by monitor_register_databas. It requires that the
deferred database registration callback be called *before* the
subsystem's.
2012-04-18 11:44:17 -07:00
Pierangelo Masarati
829efa878a move entrypriv_create into monitor_extra_t 2012-04-09 18:37:48 +02:00
Pierangelo Masarati
11acc75e9f move entry_stub to monitor_extra_t 2012-04-09 18:18:21 +02:00
Pierangelo Masarati
ce54dabb1b fix uninit'ed parameters to monitor_back_register_entry_attrs() 2012-04-04 15:09:50 +02:00
Ondrej Kuznik
7baac1d9b4 ITS#7182 Add mss_private for monitor subsystem.
During initialization (and elsewhere), the subsystems have no way of
storing local data. While embedding them inside a larger strusture and
breaking out when needed (like the current back-ldap monitoring code
currently does) works, it certainly does not add to readability.

Notice that there is still no way to unregister an active subsystem.
This patch does not attempt to include such functionality while it might
actually be needed with the advent of SLAP_CONFIG_DELETE.
2012-03-27 04:28:16 -07:00
Ondrej Kuznik
19fda82e75 ITS#7123 Update the cached entry when handling compare too. 2012-01-24 03:22:03 -08:00
Hallvard Furuseth
db49dfecc9 ITS#7131 Fix connection loop connindex usage.
connection_<first/next>() takes a ber_socket_t *index, not int*.
2012-01-24 00:47:48 +01:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Ondrej Kuznik
6f43600731 ITS#6974 (Re)moving stray cleanup code. 2011-06-20 18:13:36 -07:00
Ralf Haferkamp
6a6626b49d removed some used vars 2011-02-08 17:20:44 +00:00
Howard Chu
85532fc8c7 More cleanup 2011-01-13 02:23:04 +00:00
Howard Chu
9f692a8168 ITS#6787 release entry locks before sending entries 2011-01-13 01:11:08 +00:00
Howard Chu
afa4a82747 Fix typo 2011-01-12 22:54:58 +00:00
Howard Chu
b8cf299007 Minor cleanup 2011-01-12 22:53:43 +00:00
Howard Chu
62ee62c0b0 More for prev commit 2011-01-12 22:48:30 +00:00
Howard Chu
758c6e4dc9 ITS#6783 fix abandon processing, cleanup 2011-01-12 22:28:46 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
15aa7c472a noop commit: cleanup 0 -> REP_RESULT in SlapReply 2010-12-31 14:08:34 +00:00
Hallvard Furuseth
cd6e9156e7 Remove lint (unused vars/labels/funcs/default:s) 2010-12-30 23:34:55 +00:00
Howard Chu
9bb47f74ae ITS#6753 use slap_compare_entry() 2010-12-23 21:45:36 +00:00
Pierangelo Masarati
67f21784fd do not add hasSubordinates if already present (blind-fixes ITS#6712 for back-monitor) 2010-11-18 11:53:59 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
0cf528630f implement support for selective iteration in slaptools (ITS#6442) 2010-01-18 15:00:40 +00:00
Howard Chu
ff98f4abc5 Use fake_init2 in db_open/db_close since they can execute from a
back-config operation (and could wipe out the state otherwise)
2009-11-15 10:38:13 +00:00
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
Howard Chu
52cd360680 Fix prev commit, attr_find args 2009-08-18 20:35:02 +00:00
Pierangelo Masarati
d4f88422fd allow to register overlay-specific stuff 2009-08-17 23:08:40 +00:00
Pierangelo Masarati
2d1d2f3008 remove misleading comment 2009-08-13 21:00:04 +00:00
Pierangelo Masarati
9f80d80dbd expose subordinate databases; add a link to the superior DN 2009-08-13 20:58:20 +00:00
Pierangelo Masarati
260fd357df fix structuralObjectClass modification (glue, ITS#5921; w/ relax, ITS#5792) 2009-02-04 22:36:49 +00:00
Howard Chu
fb6dfb852d ITS#5540 sean-burford-monitor-normalize-unified-080706.patch 2009-01-27 10:05:55 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
1421d522ad fix overlays with private instances of databases (ITS#5736) 2008-10-12 20:20:46 +00:00
Pierangelo Masarati
6845c2510d don't free and reuse filter structure; don't rewrite undefined filter values (ITS#5731,ITS#5732) 2008-10-09 22:34:43 +00:00
Pierangelo Masarati
88bc524422 s/PATH_MAX/MAXPATHLEN/ (ITS#5531) 2008-05-26 20:53:16 +00:00
Pierangelo Masarati
2fe411e337 avoid potential deadlock? 2008-04-28 23:26:45 +00:00
Howard Chu
c0f5fad0f8 For ITS#5346 - reintroduce bd_self pointer (from 2008-03-13) 2008-04-23 10:23:00 +00:00
Hallvard Furuseth
5b526d2544 ITS#5328 - cosmetic cleanup (0 -> LDAP_SUCCESS) 2008-02-11 21:07:25 +00:00
Pierangelo Masarati
f63ec3f497 more attribute values mucking 2008-01-08 17:02:37 +00:00
Pierangelo Masarati
5ebb7ee175 fix zeroing out attribute values (should fix ITS#5311) 2008-01-08 14:58:24 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
233632fa04 Use per-thread slap_counters to eliminate lock contention 2007-10-25 08:45:00 +00:00
Howard Chu
a2a83fe239 From ITS#5164 - treat monitoredInfo normalization consistently, don't
crash if SLAPI plugin doesn't register a description
2007-10-03 08:59:37 +00:00
Howard Chu
d2179d885f Use attr_valfind instead of value_find_ex to optimize lookups 2007-09-24 05:02:31 +00:00
Howard Chu
9281472144 Add comment for prev commit 2007-09-15 23:40:34 +00:00
Howard Chu
3dfab875e8 Fix prev commit 2007-09-15 23:38:12 +00:00