Skip to content
Snippets Groups Projects
Commit 2c049ebb authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix ITS#2923

parent fa856463
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment