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
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
Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Howard Chu
111ecbdbed
ITS#6851 replace assert with error msg
2011-11-17 17:35:10 -08:00
Howard Chu
ceefe132a8
ITS#6817 fix RE24 build breakage
...
Should SLAP_AUTH_DN be #defined in release now?
2011-06-21 17:05:53 -07:00
Pierangelo Masarati
8a1aa76b07
fix typo in previous commit
2011-06-08 00:48:57 +02:00
Howard Chu
b4cb462fe2
ITS#6948 partial revert of #6837 , unnecessary
2011-06-06 19:55:54 -07:00
Ralf Haferkamp
f4e5030c22
First underlying LDAP database needs special treatment upon deletion
2011-03-22 16:14:02 +00:00
Ralf Haferkamp
33cab9b7ed
Allow deletion of chain overlay's back-ldap databases
2011-03-22 15:37:11 +00:00
Ralf Haferkamp
0ef6a3cc51
Removed missleading comments in ldap_chain_uri_cmp/_dup.
...
Likely a copy and paste left over.
2011-03-09 16:07:54 +00:00
Ralf Haferkamp
8359d5dcd9
ITS#6857 avoid overwriting be_flags of the underlying database
...
when setting up the chain overlay from slapd.conf
2011-03-07 16:55:57 +00:00
Pierangelo Masarati
821d2616b5
fix commit 1.268, related to ITS#6817
2011-03-05 10:30:21 +00:00
Pierangelo Masarati
16a1417a3f
more about ITS#6817
2011-03-05 10:28:04 +00:00
Howard Chu
4a4bf0bf39
Cleanup error messages
2011-02-28 11:38:19 +00:00
Howard Chu
a60c82b3ba
ITS#6837 olcChainDatabase inherits from olcLDAPConfig
2011-02-19 02:49:18 +00:00
Pierangelo Masarati
5d9baf3e85
use (noncritical) whoami extop during SASL bind (ITS#6817)
2011-02-03 23:35:56 +00:00
Pierangelo Masarati
ddbcb565d4
use (noncritical) authzid control during SASL bind (ITS#6817)
2011-02-03 23:20:15 +00:00
Howard Chu
e72c093a55
ITS#6711 minimal tweaks for aclbind/idassertbind for privileged connection
...
in dobind_int().
2011-02-02 20:56:58 +00:00
Howard Chu
d626977848
Cleanup priv/idassert choice: check for configured bind method, not authcDN
2011-02-02 20:32:48 +00:00
Howard Chu
aec5adac17
ITS#6711 use idassert TLS conf for priv connection if aclbind not set
2011-02-02 20:06:28 +00:00
Pierangelo Masarati
293b5e51a5
first cut at SASL bind issues in idassert (related to ITS#6817)
2011-01-31 22:07:04 +00:00
Hallvard Furuseth
4064e3c15d
Re-fix ITS#6793 (back-ldap bad free of matchedDN).
...
Previous fix opened for a ITS#6758-style double free if the
caller was broken. Using REP_MATCHED_MUSTBEFREED is more robust.
2011-01-31 05:30:05 +00:00
Pierangelo Masarati
36d0a161ab
also handle RFC 4526 t-f filters in back-ldap (more about ITS#6814)
2011-01-29 14:23:53 +00:00
Pierangelo Masarati
b996c17eb2
handle undefined filters in back-ldap (more about ITS#6814)
2011-01-29 12:29:20 +00:00
Pierangelo Masarati
8fcc9b058b
handle undefined objectClass values in search filters (ITS#6814)
2011-01-29 10:30:17 +00:00
Howard Chu
d3b09ef2a9
ITS#5421 drop ldap-int.h
2011-01-19 21:27:16 +00:00
Hallvard Furuseth
3866da50f5
ITS#6793 Fix back-ldap bad free on matchedDN change
2011-01-17 10:55:41 +00:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Pierangelo Masarati
b672d8535d
make sure initialization is only tried once; improve error messages
2011-01-02 15:06:11 +00:00
Pierangelo Masarati
f2df9f0cf5
add some logging (under TRACE)
2011-01-02 12:29:19 +00:00
Hallvard Furuseth
bdb078a778
ITS#6758 Reset dangerous REP_ENTRY_* flags.
...
If SlapReply.sr_un cannot contain an entry but does or soon may
contain another member than sru_search: Ensure nothing will see
leftover REP_ENTRY_* flags and try to clean up the "entry" there.
2010-12-31 20:53:17 +00:00
Hallvard Furuseth
15aa7c472a
noop commit: cleanup 0 -> REP_RESULT in SlapReply
2010-12-31 14:08:34 +00:00
Hallvard Furuseth
d2b024be4a
ITS#6758 Reset some SlapReply flags & data.
...
Reset data more consistenlty. When resetting sr_entry after sending
data, reset sr_flag as well. Reset rs_attrs and Extended Operation
oid/data after setting and sending them.
2010-12-30 23:55:07 +00:00
Hallvard Furuseth
cd6e9156e7
Remove lint (unused vars/labels/funcs/default:s)
2010-12-30 23:34:55 +00:00
Hallvard Furuseth
c9e85af35c
ITS#6759: assert;Debug -> Debug;assert
2010-12-30 23:19:02 +00:00
Hallvard Furuseth
4484781b0d
ITS#6721: Fix uninitialized tv_usec from ITS#6282
2010-11-23 10:10:45 +00:00
Hallvard Furuseth
e1469fff44
For ITS#5421: Also LBER_FREE() -> ber_memfree()
2010-11-22 13:14:29 +00:00
Hallvard Furuseth
b39e9d151d
For ITS#5421: Remove ldap-int.h dependencies.
...
LDAP_FREE() -> ber_memfree(), msg->lm_ber -> ldap_get_message_ber(msg).
2010-11-22 12:51:44 +00:00
Pierangelo Masarati
001b30ebc6
fix slapo-chain startup issue when using back-config, related to ITS#6540
2010-11-14 23:53:54 +00:00
Howard Chu
1e18b823a0
ITS#6699 search references must turn onelevel scope to base
2010-11-12 04:35:49 +00:00
Pierangelo Masarati
50a21d512f
cleanup related to ITS#6565 (also plugs a leak)
2010-09-10 22:19:41 +00:00
Pierangelo Masarati
aa63f21e4f
cleanup previous commit
2010-09-09 00:57:04 +00:00
Pierangelo Masarati
65b042b4fb
if required by the bindconf configuration, force TLS (partially addresses ITS#6642)
2010-09-09 00:12:01 +00:00
Pierangelo Masarati
22e5e49f26
use request/referral DN, scope, filter according to RFC4511 (related to ITS#6565)
2010-07-22 19:17:20 +00:00
Ralf Haferkamp
c4f0c2cc2b
unregister controls when removing syncprov, ppolicy, valsort, chain or
...
sssvlv overlay
2010-07-01 11:51:43 +00:00
Pierangelo Masarati
1242443553
don't risk leaving around client library error codes
2010-06-22 23:10:48 +00:00
Pierangelo Masarati
3a28608f0d
allow successful binds to return control responses (ITS#6530)
2010-04-22 18:18:15 +00:00