fix ITS#2923

This commit is contained in:
Pierangelo Masarati 2004-01-17 11:48:14 +00:00
parent fa856463fe
commit 2c049ebb42
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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 ) {