Commit 2c6f1d9c authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Merge branch 'its9863' into 'master'

ITS#9863 - Forward lastbind updates if configured

See merge request !542
parents 5d985e01 2b1c9b6c
Pipeline #4444 passed with stage
in 33 minutes and 33 seconds
......@@ -272,7 +272,9 @@ where
.B none
is the default, i.e. no \fIidentity assertion\fP is performed.
The authz parameter is used to instruct the SASL bind to exploit
The
.B authz
parameter is used to instruct the SASL bind to exploit
.B native
SASL authorization, if available; since connections are cached,
this should only be used when authorizing with a fixed identity
......
......@@ -472,9 +472,6 @@ fe_op_lastbind( Operation *op )
op2.o_dn = op->o_bd->be_rootdn;
op2.o_ndn = op->o_bd->be_rootndn;
/*
* TODO: this is core+frontend, not everything works the same way?
*/
/*
* Code for forwarding of updates adapted from ppolicy.c of slapo-ppolicy
*
......@@ -485,6 +482,8 @@ fe_op_lastbind( Operation *op )
* must be configured appropriately for this to be useful.
*/
if ( SLAP_SHADOW( op->o_bd ) ) {
op2.o_bd = frontendDB;
/* Must use Relax control since these are no-user-mod */
op2.o_relax = SLAP_CONTROL_CRITICAL;
op2.o_ctrls = ca;
......
......@@ -1028,7 +1028,7 @@ static struct slap_schema_ad_map {
"SINGLE-VALUE "
"NO-USER-MODIFICATION "
"USAGE directoryOperation )",
NULL, 0,
NULL, SLAP_AT_MANAGEABLE,
NULL, NULL,
NULL, NULL, NULL, NULL, NULL,
offsetof(struct slap_internal_schema, si_ad_pwdLastSuccess) },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment