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

fix return code; fix test (please review)

parent 62febe5d
No related branches found
No related tags found
No related merge requests found
......@@ -1346,7 +1346,7 @@ backend_group(
rc = 1;
for (i=0; a->a_vals[i].bv_val; i++) {
if ( ldap_url_parse( a->a_vals[i].bv_val, &ludp ) !=
LDAP_SUCCESS )
LDAP_URL_SUCCESS )
{
continue;
}
......@@ -1377,8 +1377,8 @@ backend_group(
break;
#ifdef LDAP_SCOPE_SUBORDINATE
case LDAP_SCOPE_SUBORDINATE:
if ( dn_match( &nbase, op_ndn ) &&
!dnIsSuffix(op_ndn, &nbase ))
if ( dn_match( &nbase, op_ndn ) ||
!dnIsSuffix( op_ndn, &nbase ) )
{
goto loopit;
}
......
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