mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
fix ITS#2923
This commit is contained in:
parent
fa856463fe
commit
2c049ebb42
@ -144,9 +144,9 @@ ldap_back_search(
|
||||
dc.ctx = "searchBase";
|
||||
#else
|
||||
dc.tofrom = 1;
|
||||
dc.normalized = 0;
|
||||
dc.normalized = 1;
|
||||
#endif
|
||||
if ( ldap_back_dn_massage( &dc, &op->o_req_dn, &mbase ) ) {
|
||||
if ( ldap_back_dn_massage( &dc, &op->o_req_ndn, &mbase ) ) {
|
||||
send_ldap_result( op, rs );
|
||||
return -1;
|
||||
}
|
||||
|
@ -97,9 +97,9 @@ ldap_back_dn_massage(
|
||||
|
||||
assert( res );
|
||||
|
||||
res->bv_val = NULL;
|
||||
res->bv_len = 0;
|
||||
if ( dn == NULL ) {
|
||||
res->bv_val = NULL;
|
||||
res->bv_len = 0;
|
||||
return 0;
|
||||
}
|
||||
if ( dc->rwmap == NULL || dc->rwmap->rwm_suffix_massage == NULL ) {
|
||||
|
Loading…
Reference in New Issue
Block a user