Kurt Zeilenga
390ba8c84e
VC adjust controls tag
2011-01-04 16:01:07 +00:00
Hallvard Furuseth
4cc44adf16
FORCED COMMIT: Last commit was for ITS#6758 (sr_type=REP_SEARCH before be_operational)
2011-01-04 15:14:32 +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
Pierangelo Masarati
e26b196f69
fix cloak behavior; plug leak (ITS#6762)
2011-01-04 13:08:28 +00:00
Pierangelo Masarati
565110b249
fix previous commit
2011-01-04 11:17:33 +00:00
Pierangelo Masarati
2d635156dc
add minimal support for RFC3829 (ITS#6771)
2011-01-04 10:57:35 +00:00
Quanah Gibson-Mount
ed620b9ed3
s/producer/provider
2011-01-04 01:31:30 +00:00
Quanah Gibson-Mount
b330d7630a
Use provider instead of producer, as provider is a very specific term in replication
2011-01-04 01:30:28 +00:00
Pierangelo Masarati
54e2b1464e
plug leak in previous commit
2011-01-04 01:13:58 +00:00
Pierangelo Masarati
1a0c8e1e6e
fix control response handling
2011-01-04 01:04:04 +00:00
Pierangelo Masarati
e2440ccb00
fix previous commit
2011-01-04 01:02:12 +00:00
Quanah Gibson-Mount
85ec5a9ecb
ITS#6364: Add information about rootdn setting
2011-01-04 00:49:30 +00:00
Pierangelo Masarati
c5afa82d58
fix request controls
2011-01-04 00:10:02 +00:00
Pierangelo Masarati
1a56a1934a
quick fix for vc: allow custom controls tag
2011-01-04 00:09:10 +00:00
Pierangelo Masarati
180ad95b16
quick fix; needs work
2011-01-04 00:08:12 +00:00
Pierangelo Masarati
7614e03a63
harmonize with specs; fix bugs in previous commit
2011-01-03 23:40:53 +00:00
Pierangelo Masarati
fdafc6384e
fix error handling/arg checking
2011-01-03 23:40:02 +00:00
Pierangelo Masarati
a2df1c60ff
fix previous commit
2011-01-03 23:37:48 +00:00
Kurt Zeilenga
4e515a8a65
Add VC support for ppolicy and authzid inner controls
2011-01-03 22:54:48 +00:00
Kurt Zeilenga
b96b4ebecd
Add ldapvc args
2011-01-03 22:11:02 +00:00
Kurt Zeilenga
37dcb1d791
Remove authzid parameter from verify credential response.
...
If client wants authzid, it can ask by adding an Authorization Identity
Request inner control.
2011-01-03 22:05:23 +00:00
Pierangelo Masarati
9757235557
first cut at new spec (needs #define LDAP_TAG_EXOP_VERIFY_CREDENTIALS_CONTROLS)
2011-01-03 21:50:54 +00:00
Kurt Zeilenga
7f4c7ebc1c
Extend Verify Credentials encode/decode per -devel post.
...
(ldapvc doesn't yet request/handle inner password policy control.
2011-01-03 21:49:26 +00:00
Pierangelo Masarati
c544fb7fc3
sync with client-side
2011-01-03 19:40:22 +00:00
Kurt Zeilenga
e6fd8bfbb0
Remove version from encoding
...
(previously removed from SASL choices, but should be always absent)
2011-01-03 19:21:03 +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
6460f957af
ITS#6768 (forced commit)
2011-01-03 17:10:05 +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
Pierangelo Masarati
59b220506d
more about ITS#6645
2011-01-01 20:50:00 +00:00
Pierangelo Masarati
58bf3de504
add more rename/delete tests
2011-01-01 19:49:27 +00:00
Pierangelo Masarati
cb1414ba28
fix logging
2011-01-01 17:26:15 +00:00
Pierangelo Masarati
cd1fb3003c
check return value
2011-01-01 16:10:23 +00:00
Pierangelo Masarati
6631d41c16
ber_flatten must return -1 on unmatched "{" "}" (ITS#6764)
2011-01-01 16:06:45 +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
Hallvard Furuseth
6d7c1880a8
ITS#6758 Avoid SlapReply reuse.
...
Caller provides a SlapReply and reads the result after the operation,
then reuses it. Reinitialize before reuse, or move declaration inwards.
2010-12-31 13:08:11 +00:00