return SLAP_CB_CONTINUE;
}
+static struct berval *passwd_oid;
+
static int
rwm_entry_get_rw( Operation *op, struct berval *ndn,
ObjectClass *oc, AttributeDescription *at, int rw, Entry **ep )
return SLAP_CB_CONTINUE;
}
+ /* If we're fetching the target of a password mod, must let real DNs thru */
+ if ( op->o_tag == LDAP_REQ_EXTENDED && bvmatch( passwd_oid, &op->oq_extended.rs_reqoid ) ) {
+ return SLAP_CB_CONTINUE;
+ }
+
/* massage DN */
op2.o_tag = LDAP_REQ_SEARCH;
op2 = *op;
{ BER_BVNULL, NULL }
};
+static struct berval *passwd_oid = &exop_table[0].oid;
+
static int
rwm_extended( Operation *op, SlapReply *rs )
{