From: Luke Howard Date: Sun, 31 Jul 2005 05:23:56 +0000 (+0000) Subject: Restore 2.2 SLAPI behaviour: target DN is not normalized X-Git-Tag: OPENLDAP_AC_BP~134 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a2f3b5f2d7a5fe0caa4e40b09d18a7545e0969a;p=openldap 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) --- diff --git a/servers/slapd/slapi/slapi_pblock.c b/servers/slapd/slapi/slapi_pblock.c index 791a3101d1..eafd4e2e19 100644 --- a/servers/slapd/slapi/slapi_pblock.c +++ b/servers/slapd/slapi/slapi_pblock.c @@ -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 );