Howard Chu
6c7654d484
Fix typo from rev 1.15. Apparently nobody has used this module since 2007.
2011-02-04 16:21:10 +00:00
Ralf Haferkamp
41352ea34d
Fixed the overlay delete code to allow removing
...
cn=config overlays again.
2011-02-04 16:10:11 +00:00
Howard Chu
95f014d02f
Cleanup config items on destroy
2011-02-04 15:25:42 +00:00
Howard Chu
4e96cd4605
More cleanup / old perl compat
2011-02-04 15:03:16 +00:00
Howard Chu
a815d1821c
Dynamic config support - not fully backward compatible
2011-02-04 15:00:10 +00:00
Howard Chu
e3eecf85c4
Dynamic config for back-shell
2011-02-04 13:09:15 +00:00
Howard Chu
aa0153ee88
Fix typo
2011-02-04 12:22:55 +00:00
Howard Chu
e3a5e9d060
Dynamic config for back-passwd
2011-02-04 12:22:17 +00:00
Howard Chu
999b6407b0
Add overlay config stuff, handle overlay responses
2011-02-04 10:52:34 +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
cfd29403c0
Just use back-sock OID arc for overlay
2011-02-03 21:54:11 +00:00
Howard Chu
bef7970e8b
As an overlay, always return SLAP_CB_CONTINUE
2011-02-03 21:34:45 +00:00
Howard Chu
d678a83720
Add response message for overlays
2011-02-03 21:24:26 +00:00
Howard Chu
9ca9459ece
More for overlay use, add connid extension
2011-02-03 20:47:38 +00:00
Howard Chu
8ab45884e3
Add overlay wrapper, use for triggers etc.
2011-02-03 20:17:23 +00:00
Pierangelo Masarati
fb2092328c
do not set c_authz_backend unless needed (ITS#6824, thanks to Howard)
2011-02-03 20:04:56 +00:00
Howard Chu
14b7b19c0d
ITS#6821 make sure objectclass is processed before other mods
2011-02-03 00:15:09 +00:00
Hallvard Furuseth
4225acc07a
Revert last ITS#6532 commit, it is incomplete.
...
Needs better MUTATION support in filter.c first.
2011-02-02 23:28:42 +00:00
Hallvard Furuseth
b508c611a6
More ITS#6532: Support (:UUIDOrderingMatch:=foo)
2011-02-02 23:15:17 +00:00
Hallvard Furuseth
e74964d51b
More ITS#6532: Support (:csnOrderingMatch:=foo)
2011-02-02 22:24:39 +00:00
Pierangelo Masarati
4e3eac93f7
prefix undef attrs with undef: (ITS#6823)
2011-02-02 21:45:34 +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
Ralf Haferkamp
c9e49778f4
ITS#6822 fix back-config's default ACL when overlays are in place
2011-02-02 19:56:08 +00:00
Pierangelo Masarati
e4fcc294fa
ignore attrs in search request that do not conform to RFC 4511 4.5.1.8. or standard track extensions (ITS#6819)
2011-02-01 23:13:58 +00:00
Pierangelo Masarati
15c8ad1f46
make sure data is reset
2011-02-01 22:58:41 +00:00
Howard Chu
6059ffaa00
Use larger key buffer
2011-02-01 21:24:38 +00:00
Howard Chu
acf502d99d
ITS#6806 fix uninit'd NA.txn
2011-02-01 21:21:31 +00:00
Pierangelo Masarati
aef310e4d8
do not return void (ITS#6820)
2011-02-01 17:49:27 +00:00
Pierangelo Masarati
75e3a1931d
ignore empty attrs in search requests (ITS#6819; see also ITS#6652)
2011-02-01 13:09:11 +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
Pierangelo Masarati
67a9ef8c33
give the caller a chance to use undefined filters (more about ITS#6814)
2011-01-31 21:53:56 +00:00
Pierangelo Masarati
6d35c255d3
do not cause f_result to override undefined ava
2011-01-31 21:33:54 +00:00
Pierangelo Masarati
539a6902de
do not denormalize attrs without equality rule (ITS#6818)
2011-01-31 21:20:33 +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
4acb60f808
also handle RFC 4526 t-f filters in back-ldap (more about ITS#6814)
2011-01-29 14:16:02 +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
3f28eeb797
ITS#6812 cleanup error codes
2011-01-29 03:30:22 +00:00
Howard Chu
20e7176183
More for ITS#6807, make sure to check_syncprov() after initial startup
2011-01-28 22:01:18 +00:00
Hallvard Furuseth
42cb7f06f1
cleanup: Rename rs_ensure_entry_modifiable().
...
The name rs_entry2modifiable() is more reasonably sized.
For now, leave behind a macro rs_ensure_entry_modifiable in proto-slap.h.
2011-01-28 16:33:55 +00:00
Howard Chu
36563721bc
Fix a couple FIXMEs: use ldif_put to allow for binary values in
...
compare and modify. Note that line wrapping is disabled; presumably
existing code expects the compare argument to use only a single line.
The manpage should be updated to note whether standard LDIF with
default line wrapping is expected or not. (Add uses default width already.)
2011-01-28 09:40:52 +00:00
Howard Chu
0a96599375
ITS#6809 add missing newline
2011-01-28 09:11:18 +00:00
Pierangelo Masarati
2a513ad623
cleanup monitor unregister (ITS#6808)
2011-01-27 22:27:22 +00:00
Howard Chu
2d37632286
ITS#6807 always use complete cookie on refresh requests
2011-01-27 20:50:08 +00:00
Howard Chu
68081c5a24
ITS#6804 fix ACL_RECORD_VALUE_STATE macro, was skipping past the ACL
...
instead of resuming from the intended one
2011-01-27 00:50:26 +00:00
Pierangelo Masarati
34a21b7f40
add support for subtree-include (ITS#6801); improve support for subtree-exclude
2011-01-22 15:47:37 +00:00
Ralf Haferkamp
35c2869e44
ITS#6794 Fixed slapadd -q for glued databases
...
Cleanup memory/threads more thoroughly in bdb_tool_entry_close() so that a
subsequent bdb_tool_entry_open() (e.g. for a glued database) can setup
things correctly again.
2011-01-21 17:11:21 +00:00
Hallvard Furuseth
a67100a7c1
ITS#6758 whitespace fix for rev 1.350
2011-01-21 12:09:47 +00:00
Hallvard Furuseth
ecc19f03a0
ITS#6758 Remove comment; broken rs.sr_type idea
2011-01-21 11:43:20 +00:00
Hallvard Furuseth
fb6aa52870
Support $NO_RS_ASSERT. Add comments.
...
Use a private rs_assert_() helper function instead of libc assert.
2011-01-21 11:41:45 +00:00
Hallvard Furuseth
2396759291
ITS#6758 Support rs_reinit(rs, rs->sr_type).
...
rs_reinit() looks like a function call, so it should act like one.
2011-01-21 11:23:00 +00:00
Howard Chu
d3b09ef2a9
ITS#5421 drop ldap-int.h
2011-01-19 21:27:16 +00:00
Pierangelo Masarati
f62b4a55c1
fix and improve candidate selection (ITS#6799)
2011-01-19 17:36:35 +00:00
Pierangelo Masarati
d829953dd0
empty query UUID means negative caching (ITS#6796)
2011-01-18 20:44:45 +00:00
Pierangelo Masarati
c4bdb76de0
count attr values; don't free dangling pointers (ITS#6797)
2011-01-18 20:33:12 +00:00
Howard Chu
4c1464f3cd
ITS#6795 plug sr_ctrls memleak
2011-01-18 02:24:35 +00:00
Pierangelo Masarati
85ba0b81ed
fix previous commit
2011-01-17 15:06:11 +00:00
Pierangelo Masarati
3c82ea09c7
make sure rwm_response returns SLAP_CB_CONTINUE (ITS#6792, as indicated by Hallvard)
2011-01-17 13:15:28 +00:00
Hallvard Furuseth
3866da50f5
ITS#6793 Fix back-ldap bad free on matchedDN change
2011-01-17 10:55:41 +00:00
Howard Chu
e3f344bcbd
ITS#6717 refine mincsn check for MMR
2011-01-13 22:45:59 +00:00
Howard Chu
7da903a11d
ITS#6716 partial revert, initialize sl_mincsn at db_open
2011-01-13 22:23:05 +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
Hallvard Furuseth
1ecaeb3b18
noop change: Silence signed vs unsigned warnings
2011-01-12 14:44:03 +00:00
Hallvard Furuseth
6223282235
Catch ber_scanf errors properly
2011-01-12 14:41:33 +00:00
Howard Chu
5ece155e14
More for #6503
2011-01-06 22:46:08 +00:00
Howard Chu
d4523d3142
ITS#6503 - record Adds in sessionlog too, to avoid excessive present phases
2011-01-06 22:37:23 +00:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Pierangelo Masarati
fc6bd40dfc
make sure matched is NULL when err=SUCCESS (ITS#6774)
2011-01-04 18:27:02 +00:00
Pierangelo Masarati
8fcd55bdc0
no need for next control
2011-01-04 16:17:24 +00:00
Pierangelo Masarati
2b44bc5bf6
typo in error message
2011-01-04 16:16:59 +00:00
Hallvard Furuseth
eae5e37ebd
Set sr_type=REP_SEARCH before be_operational
2011-01-04 15:12:45 +00:00
Hallvard Furuseth
a8c8ec5d4c
ITS#6758 config_back_add: Don't set sr_text if compareTrue
2011-01-04 15:02:52 +00:00
Quanah Gibson-Mount
ed620b9ed3
s/producer/provider
2011-01-04 01:31:30 +00:00
Pierangelo Masarati
1a56a1934a
quick fix for vc: allow custom controls tag
2011-01-04 00:09:10 +00:00
Pierangelo Masarati
342980d116
use Paged Results when talking to targets (in response to ITS#6664)
2011-01-03 17:52:55 +00:00
Pierangelo Masarati
53343b421c
force the generation of a new CSN (ITS#6766)
2011-01-03 00:04:53 +00:00
Pierangelo Masarati
ab4eb5e673
skip operations when internal
2011-01-02 23:36:30 +00:00
Pierangelo Masarati
d562608e40
memberof handling of rename (ITS#6700)
2011-01-02 23:03:13 +00:00
Pierangelo Masarati
7c77d9b801
fix control value generation (ITS#6652)
2011-01-02 17:19:14 +00:00
Pierangelo Masarati
0a12ea91df
hex digits need to be in pairs (ITS#6652)
2011-01-02 15:58:48 +00:00
Pierangelo Masarati
cddaeff565
fix reqControls validator (partially addresses ITS#6652)
2011-01-02 15:50:00 +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
Pierangelo Masarati
5c8d655bbb
quick fix for null DN
2011-01-02 02:15:21 +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
b26c767ed6
ITS#6758 slap.h: Cast REP_* #defines to slap_mask_t
2010-12-31 20:02:41 +00:00
Hallvard Furuseth
9467059b0b
ITS#6758 fix/add slap_send_search_entry() comments
2010-12-31 19:57:53 +00:00
Hallvard Furuseth
a4c2d54127
ITS#6758 result.c:Use rs_*(). Frees entries earlier.
...
For readability, use rs_flush_entry() where slap_send_search_entry() and
slap_send_search_reference() release entries before network operations.
This change also frees entires marked MUSTBEFREED earlier.
2010-12-31 18:14:31 +00:00
Hallvard Furuseth
f4a3304477
ITS#6758 Use rs_*() to manage SlapReply entries.
...
Some noop changes + fixes entry leaks and REP_ENTRY_MODIFIABLE flag leaks.
2010-12-31 17:55:36 +00:00
Hallvard Furuseth
15aa7c472a
noop commit: cleanup 0 -> REP_RESULT in SlapReply
2010-12-31 14:08:34 +00:00
Hallvard Furuseth
713886ec07
ITS#6758, pcache.c: Avoid SlapReply reuse.
...
refresh_merge(): Do not reuse Search SlapReply parameter for a Modify,
use a local one and copy its sr_err to the parameter. The parameter is
from refresh_query(). Move its SlapReply parameter to a local variable.
2010-12-31 13:46:48 +00:00