mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Restore 2.2 SLAPI behaviour: target DN is not normalized
(actually, in 2.2 the target DN was not even prettied, but this will do)
This commit is contained in:
parent
d0ad4b3f3e
commit
1a2f3b5f2d
1 changed files with 2 additions and 2 deletions
|
|
@ -467,7 +467,7 @@ pblock_get( Slapi_PBlock *pb, int param, void **value )
|
|||
break;
|
||||
case SLAPI_REQUESTOR_DN:
|
||||
PBLOCK_ASSERT_OP( pb, 0 );
|
||||
*((char **)value) = pb->pb_op->o_ndn.bv_val;
|
||||
*((char **)value) = pb->pb_op->o_dn.bv_val;
|
||||
break;
|
||||
case SLAPI_MANAGEDSAIT:
|
||||
PBLOCK_ASSERT_OP( pb, 0 );
|
||||
|
|
@ -500,7 +500,7 @@ pblock_get( Slapi_PBlock *pb, int param, void **value )
|
|||
break;
|
||||
case SLAPI_TARGET_DN:
|
||||
PBLOCK_ASSERT_OP( pb, 0 );
|
||||
*((char **)value) = pb->pb_op->o_req_ndn.bv_val;
|
||||
*((char **)value) = pb->pb_op->o_req_dn.bv_val;
|
||||
break;
|
||||
case SLAPI_REQUESTOR_ISROOT:
|
||||
*((int *)value) = pblock_be_call( pb, be_isroot );
|
||||
|
|
|
|||
Loading…
Reference in a new issue