Commit Graph

11376 Commits

Author SHA1 Message Date
Howard Chu
7c28420618 ITS#7303 fix unneeded alias lookups 2012-06-12 16:16:07 -07:00
Howard Chu
c73ec15022 ITS#7292 more accesslog,syncprov leaks 2012-06-08 07:33:59 -07:00
Howard Chu
a8d1783550 ITS#7292 more syncprov control leaks 2012-06-08 05:09:45 -07:00
Howard Chu
a766cdf268 Revert "ITS#7292 plug memleak in control values"
This reverts commit 9e3af2356b.
2012-06-08 04:11:29 -07:00
Howard Chu
96876a171a ITS#7292 more syncprov leaks 2012-06-07 16:02:45 -07:00
Howard Chu
9e3af2356b ITS#7292 plug memleak in control values 2012-06-07 13:18:31 -07:00
Howard Chu
4dba1f6963 ITS#7292 plug memleaks in accesslog,syncprov 2012-06-07 11:33:20 -07:00
Howard Chu
16c97dee9c ITS#7076 fix dup result messages on entry/searchref error 2012-06-07 05:43:13 -07:00
Hrvoje
243a2316d3 ITS#7222 fix bdb/hdb cache hang under high load 2012-05-31 10:48:38 -07:00
SATOH Fumiyasu
4272551a01 ITS#7284 slappasswd: Add support loading a dynamically loadable module
Add "-o module-path=<pathspec>" and "-o module-load=<filename>"
options to load a dynamically loadable password hash module
(e.g., slapd-sha2).
2012-05-31 02:46:04 -07:00
Howard Chu
d0296e6e33 ITS#7279 init rc in mdb_idl_insert_keys 2012-05-30 05:09:31 -07:00
Howard Chu
68ffed7130 Additional fix for threaded slapadd
If slapadd'ing a config DB and tool-threads is set in the config LDIF,
the checks for slap_tool_thread_max will be invalid.
2012-05-29 19:49:58 -07:00
Howard Chu
34240dbbbb ITS#7255 in mdb_tool_entry_modify use the existing global txn 2012-05-02 13:32:06 -07:00
Howard Chu
1d89901e73 ITS#7253 add a note about Criticality and RFC4510 2012-04-20 07:24:03 -07: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
6f8fb3bf39 ITS#7182 Simplify connection entry creation using entry_stub. 2012-04-18 11:44:55 -07:00
Ondrej Kuznik
e255d3e996 ITS#7182 Remove use of monitor_info_t in back-ldap. 2012-04-18 11:44:49 -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
e92704309a more on ITS#6656 2012-04-17 21:51:02 +02:00
Howard Chu
62cdc32f4e ITS#7245 fix slap_parse_sync_cookie invocation 2012-04-16 07:36:43 -07:00
Howard Chu
519e2b34b5 Support double-buffering for threaded slapadd 2012-04-14 07:54:26 -07:00
Pierangelo Masarati
5bbfd85a83 ITS#7088 fix deadlock on write operations that do not need to be logged (please check) 2012-04-12 18:04:39 +02:00
Pierangelo Masarati
a47ef8d2b7 ITS#6656 keep loginfo mutex-protected 2012-04-11 00:16:45 +02:00
Pierangelo Masarati
3d99878d0b ITS#6656 make reqEntryUUID searchable 2012-04-10 23:13:55 +02:00
Pierangelo Masarati
f65ee5ddc1 ITS#6656 add reqEntryUUID to logs of write ops 2012-04-10 22:39:35 +02:00
Pierangelo Masarati
d7d1789e80 ITS#7224 check *_names pointer before dereferencing 2012-04-10 00:47:23 +02: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
Howard Chu
71843da2a7 MDB_APPEND should only be used in tool mode 2012-04-09 05:18:44 -07:00
Howard Chu
9e6245f87e ITS#7235 prevent sop from being freed during init 2012-04-07 10:22:56 -07:00
Howard Chu
8bf047c8cb ITS#7231 simplify prev commit 2012-04-07 07:57:39 -07:00
Howard Chu
494c6fa37f ITS#7231 fix idl_append when b has only 1 element 2012-04-07 07:36:43 -07:00
Hallvard Furuseth
e6a25b2db6 ITS#7233 Fix slapd listener initialization.
This broke if i was incremented before the new thread read i:
    for(...; i++) { ldap_pvt_thread_create(,,, &i); ... }
2012-04-07 14:13:50 +02:00
Hallvard Furuseth
19905a390f ITS#7234 Fix syncprov entry leak: Set op->o_tag 2012-04-07 14:13:50 +02:00
Howard Chu
6d5dac4fa2 ITS#7197 fix olcTLSVerifyClient keywords 2012-04-04 13:25:09 -07:00
Pierangelo Masarati
ce54dabb1b fix uninit'ed parameters to monitor_back_register_entry_attrs() 2012-04-04 15:09:50 +02:00
Howard Chu
b849ab00f8 ITS#7149 pick up definition of STRLENOF 2012-03-30 03:22:40 -07:00
Howard Chu
ac12129465 ITS#7182 silence warning about AVL_APPLY type 2012-03-29 07:06:16 -07:00
Ondrej Kuznik
8452b4ccde ITS#7182 Expose the peer address of a connection. 2012-03-29 07:01:15 -07:00
Ondrej Kuznik
af09702199 ITS#7182 Expose the URI used for this connection. 2012-03-29 07:01:12 -07:00
Ondrej Kuznik
fa3a79c1b9 ITS#7182 Expose the connection flags.
The flags are exposed using a multivalued parameter so that other
connection flags (like back-meta's) could be exported without needing
additional code.
2012-03-29 07:01:10 -07:00
Ondrej Kuznik
cfc947dd54 ITS#7182 Enable operation and connection monitoring.
Reintroduce the cn=connections entry exactly as it were before ITS#7182.
2012-03-29 07:01:07 -07:00
Ondrej Kuznik
979e0f00b9 ITS#7182 Rework monitor registration.
Letting back-monitor create the subsystem entries is much more readable
than doing this manually.

Only the database is registered if needed (chain overlay has to be
updated to cope with this), the cn=Connection entry is removed in this
patch to be reinstated in the following one as part of the correct
subsystem.

The owner (overlay mostly) should already know the target subtree DN,
therefore the filter machinery can go away too.
2012-03-29 07:01:04 -07:00
Ondrej Kuznik
7c40b6e904 ITS#7182 Keep connection IDs for monitoring purposes. 2012-03-29 07:00:56 -07:00
Howard Chu
f6b8103b78 ITS#7149 more for back-perl, always use bv_len when available 2012-03-29 06:11:55 -07:00
Howard Chu
ab481c0f74 ITS#7149 fix back-shell/back-perl Modify with binary values 2012-03-29 06:05:15 -07:00
HIRABAYASHI Satoshi
92d439a0dd ITS#7218 fix sessionlog usability check 2012-03-28 02:48:03 -07:00
Ondrej Kuznik
be9585d0ed ITS#7182 Maintain the operation counts.
Currently ldap_back_default_rebind cannot access the ldapinfo structure.
Being a configurable callback, not letting it monitor when a change
might be disruptive feels safer.
2012-03-27 04:28:37 -07:00
Ondrej Kuznik
fb2d235615 ITS#7182 Introduce the variables for operation monitoring.
Only completed operations are considered for now, this can be changed
if needed.
2012-03-27 04:28:26 -07:00