do not log BINDs to non-existent users as errors

https://fedorahosted.org/freeipa/ticket/4889

Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
Martin Babinsky 2015-03-25 16:14:49 +01:00 committed by Jan Cholasta
parent ca96ecbf40
commit 4192cce80e

View File

@ -500,7 +500,7 @@ static int ipalockout_postop(Slapi_PBlock *pb)
getPluginID());
if (ldrc != LDAP_SUCCESS) {
LOG_FATAL("Failed to retrieve entry \"%s\": %d\n", dn, ldrc);
LOG_TRACE("Failed to retrieve entry \"%s\": %d\n", dn, ldrc);
goto done;
}
@ -746,7 +746,7 @@ static int ipalockout_preop(Slapi_PBlock *pb)
getPluginID());
if (ldrc != LDAP_SUCCESS) {
LOG_FATAL("Failed to retrieve entry \"%s\": %d\n", dn, ldrc);
LOG_TRACE("Failed to retrieve entry \"%s\": %d\n", dn, ldrc);
goto done;
}