mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-18 04:44:17 -05:00
Inherit operation pblock for SLAPI
This commit is contained in:
parent
b1411a3dce
commit
d649ae0808
2 changed files with 12 additions and 0 deletions
|
|
@ -440,6 +440,9 @@ slap_auxprop_lookup(
|
|||
op.o_threadctx = conn->c_sasl_bindop->o_threadctx;
|
||||
op.o_tmpmemctx = conn->c_sasl_bindop->o_tmpmemctx;
|
||||
op.o_tmpmfuncs = conn->c_sasl_bindop->o_tmpmfuncs;
|
||||
#ifdef LDAP_SLAPI
|
||||
op.o_pb = conn->c_sasl_bindop->o_pb;
|
||||
#endif
|
||||
op.o_conn = conn;
|
||||
op.o_connid = conn->c_connid;
|
||||
op.ors_scope = LDAP_SCOPE_BASE;
|
||||
|
|
@ -565,6 +568,9 @@ slap_sasl_checkpass(
|
|||
op.o_threadctx = conn->c_sasl_bindop->o_threadctx;
|
||||
op.o_tmpmemctx = conn->c_sasl_bindop->o_tmpmemctx;
|
||||
op.o_tmpmfuncs = conn->c_sasl_bindop->o_tmpmfuncs;
|
||||
#ifdef LDAP_SLAPI
|
||||
op.o_pb = conn->c_sasl_bindop->o_pb;
|
||||
#endif
|
||||
op.o_conn = conn;
|
||||
op.o_connid = conn->c_connid;
|
||||
op.ors_scope = LDAP_SCOPE_BASE;
|
||||
|
|
|
|||
|
|
@ -456,6 +456,9 @@ int slap_sasl_match( Operation *opx, struct berval *rule,
|
|||
op.o_threadctx = opx->o_threadctx;
|
||||
op.o_tmpmemctx = opx->o_tmpmemctx;
|
||||
op.o_tmpmfuncs = opx->o_tmpmfuncs;
|
||||
#ifdef LDAP_SLAPI
|
||||
op.o_pb = opx->o_pb;
|
||||
#endif
|
||||
op.o_conn = opx->o_conn;
|
||||
op.o_connid = opx->o_connid;
|
||||
|
||||
|
|
@ -620,6 +623,9 @@ void slap_sasl2dn( Operation *opx,
|
|||
op.o_threadctx = opx->o_threadctx;
|
||||
op.o_tmpmemctx = opx->o_tmpmemctx;
|
||||
op.o_tmpmfuncs = opx->o_tmpmfuncs;
|
||||
#ifdef LDAP_SLAPI
|
||||
op.o_pb = opx->o_pb;
|
||||
#endif
|
||||
op.oq_search.rs_deref = LDAP_DEREF_NEVER;
|
||||
op.oq_search.rs_slimit = 1;
|
||||
op.oq_search.rs_attrsonly = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue