Fix ITS#2578

This commit is contained in:
Kurt Zeilenga 2003-06-15 05:52:51 +00:00
parent fa439b9e10
commit 46122fa688

View File

@ -515,10 +515,12 @@ slap_sasl_check_authz( Operation *op,
if( rc != LDAP_SUCCESS ) goto COMPLETE;
/* Check if the *assertDN matches any **vals */
if( vals != NULL ) {
for( i=0; vals[i].bv_val != NULL; i++ ) {
rc = slap_sasl_match( op, &vals[i], assertDN, authc );
if ( rc == LDAP_SUCCESS ) goto COMPLETE;
}
}
rc = LDAP_INAPPROPRIATE_AUTH;
COMPLETE: