mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
more cleanups
This commit is contained in:
parent
95b0b26ad5
commit
0799e6a246
@ -700,6 +700,10 @@ slapi_op_func( Operation *op, SlapReply *rs )
|
||||
|
||||
slapi_int_pblock_set_operation( pb, op );
|
||||
|
||||
slapi_pblock_set( pb, SLAPI_TARGET_ADDRESS, NULL );
|
||||
slapi_pblock_set( pb, SLAPI_TARGET_UNIQUEID, NULL );
|
||||
slapi_pblock_set( pb, SLAPI_TARGET_DN, (void *)op->o_req_dn.bv_val );
|
||||
|
||||
cb.sc_response = slapi_over_response; /* call pre-entry/result plugins */
|
||||
cb.sc_cleanup = slapi_over_cleanup; /* call post-entry/result plugins */
|
||||
cb.sc_private = opinfo;
|
||||
|
@ -2616,10 +2616,6 @@ int slapi_int_pblock_set_operation( Slapi_PBlock *pb, Operation *op )
|
||||
if ( rc != LDAP_SUCCESS )
|
||||
return rc;
|
||||
|
||||
rc = slapi_pblock_set( pb, SLAPI_TARGET_DN, (void *)op->o_req_dn.bv_val );
|
||||
if ( rc != LDAP_SUCCESS )
|
||||
return rc;
|
||||
|
||||
rc = slapi_pblock_set( pb, SLAPI_MANAGEDSAIT, (void *)get_manageDSAit( op ) );
|
||||
if ( rc != LDAP_SUCCESS )
|
||||
return rc;
|
||||
|
Loading…
Reference in New Issue
Block a user