mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
propagate pretty DN (ITS#4456)
This commit is contained in:
parent
323c921fba
commit
e673b4d9ad
@ -56,7 +56,7 @@ ldap_back_compare(
|
||||
}
|
||||
|
||||
retry:
|
||||
rs->sr_err = ldap_compare_ext( lc->lc_ld, op->o_req_ndn.bv_val,
|
||||
rs->sr_err = ldap_compare_ext( lc->lc_ld, op->o_req_dn.bv_val,
|
||||
op->orc_ava->aa_desc->ad_cname.bv_val,
|
||||
&op->orc_ava->aa_value,
|
||||
ctrls, NULL, &msgid );
|
||||
|
@ -59,7 +59,7 @@ ldap_back_delete(
|
||||
}
|
||||
|
||||
retry:
|
||||
rs->sr_err = ldap_delete_ext( lc->lc_ld, op->o_req_ndn.bv_val,
|
||||
rs->sr_err = ldap_delete_ext( lc->lc_ld, op->o_req_dn.bv_val,
|
||||
ctrls, NULL, &msgid );
|
||||
rc = ldap_back_op_result( lc, op, rs, msgid,
|
||||
li->li_timeout[ LDAP_BACK_OP_DELETE], LDAP_BACK_SENDRESULT );
|
||||
|
@ -107,7 +107,7 @@ ldap_back_modify(
|
||||
}
|
||||
|
||||
retry:
|
||||
rs->sr_err = ldap_modify_ext( lc->lc_ld, op->o_req_ndn.bv_val, modv,
|
||||
rs->sr_err = ldap_modify_ext( lc->lc_ld, op->o_req_dn.bv_val, modv,
|
||||
ctrls, NULL, &msgid );
|
||||
rc = ldap_back_op_result( lc, op, rs, msgid,
|
||||
li->li_timeout[ LDAP_BACK_OP_MODIFY], LDAP_BACK_SENDRESULT );
|
||||
|
@ -66,7 +66,7 @@ ldap_back_modrdn(
|
||||
}
|
||||
|
||||
retry:
|
||||
rs->sr_err = ldap_rename( lc->lc_ld, op->o_req_ndn.bv_val,
|
||||
rs->sr_err = ldap_rename( lc->lc_ld, op->o_req_dn.bv_val,
|
||||
op->orr_newrdn.bv_val, newSup,
|
||||
op->orr_deleteoldrdn, ctrls, NULL, &msgid );
|
||||
rc = ldap_back_op_result( lc, op, rs, msgid,
|
||||
|
@ -209,7 +209,7 @@ ldap_back_search(
|
||||
/* deal with <draft-zeilenga-ldap-t-f> filters */
|
||||
filter = op->ors_filterstr;
|
||||
retry:
|
||||
rs->sr_err = ldap_search_ext( lc->lc_ld, op->o_req_ndn.bv_val,
|
||||
rs->sr_err = ldap_search_ext( lc->lc_ld, op->o_req_dn.bv_val,
|
||||
op->ors_scope, filter.bv_val,
|
||||
attrs, op->ors_attrsonly, ctrls, NULL,
|
||||
tv.tv_sec ? &tv : NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user