Commit Graph

803 Commits

Author SHA1 Message Date
Howard Chu
451a9623f3 ITS#8576 Revert "LDAP_TAILQ fix"
This reverts commit 8ee8248328.
2017-02-01 11:58:54 +00:00
Quanah Gibson-Mount
1df85d3427 Happy New Year! 2017-01-03 12:36:47 -08:00
Quanah Gibson-Mount
6c4d6c880b Happy New Year! 2016-01-29 13:32:05 -06:00
Howard Chu
05b32b4992 ITS#8244 skip client controls in ldap_back_entry_get() 2015-09-14 05:43:35 +01:00
Howard Chu
e5c778fa43 ITS#8173 fix SEGV after failed retry 2015-07-16 03:29:06 +01:00
Howard Chu
66ab6bafa8 ITS#8142 cleanup prev commit
Only drop connection if user originally bound to this backend,
and rebind-as-user was set. Sessions from other backends would
use idassert-bind so loss of creds doesn't affect them.
2015-05-21 01:20:16 +01:00
Howard Chu
117edd79ce ITS#8142 drop client connection on remote failure
also cleanup of return-code handling
2015-05-19 15:37:24 +01:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
Howard Chu
bc3dbcbde9 Minor cleanup (coverity) 2015-01-14 13:27:45 +00:00
hyc
846cf30842 ITS#7930 additional fix
bypass cleanup handlers for suppressed search result msgs
2014-09-06 09:49:32 +01:00
hyc
18d9470984 ITS#7930 partial fix
Only restore op->o_req_dn if no one else changed it on us.
2014-09-06 09:14:46 +01:00
Howard Chu
cd02e6054e ITS#7922 delete dead code
Harmless, but stupid.
2014-08-19 20:31:20 -07:00
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Hallvard Furuseth
5415e1e6de ITS#6758 Rewrite code for contrib:wrap_slap_ops.
Tweak slapd code so wrap_slap_ops can process it: Use pointers
BackendInfo *bi instead of array "func" = &bi->bi_op_bind. In
slapo-chain, keep a slap_operation_t instead of a function ptr.
2013-12-11 14:40:45 +01:00
Quanah Gibson-Mount
1a712bf18e Enable features that were hidden behind LDAP_DEVEL 2013-09-19 09:50:52 -07:00
Pierangelo Masarati
919a0f5b54 ITS#7687: password modify can muck with controls (quick fix) 2013-09-10 22:03:32 +02:00
Howard Chu
819566415e ITS#7381 more for prev commit 2013-09-09 04:59:20 -07:00
Howard Chu
4d02a43ec9 ITS#7381 fix chain config for restarts 2013-09-06 12:54:20 -07:00
Quanah Gibson-Mount
dd7b1c39b1 Clean up whitespace in previous commit 2013-01-24 11:31:41 -08:00
Ted C. Cheng
d836def019 added tcp keepalive support to back-ldap 2013-01-24 10:53:56 -08:00
Pierangelo Masarati
ebf23f8187 add support for 'onerr' (ITS#7492) 2013-01-12 00:13:42 +01:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Howard Chu
c1800082cc ITS#7403, #6296 fix AUTHZ_BACKEND handling
c_authz_cookie should only be set on explicit Bind requests.
2012-10-03 09:12:14 -07:00
Howard Chu
d7c964fedb ITS#7403 fix idassert non-override mode 2012-09-26 09:29:57 -07:00
Howard Chu
54de37c0e1 Initial config support for back-meta
Currently just a direct replacement of slapd.conf parsing,
no dynamic features yet.
2012-08-17 14:04:48 -07:00
Ted Cheng
0b937d82f2 ITS#7319 Always encode user DN in pwmod request. 2012-07-03 16:13:36 -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
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
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
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