1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

auth4: debug if method->ops->check_password() gives NOT_IMPLEMENTED

BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2017-03-16 16:47:15 +01:00
parent 541d687347
commit 61e499cbaa

View File

@ -374,7 +374,7 @@ static void auth_check_password_async_trigger(struct tevent_context *ev,
status = method->ops->want_check(method, req, state->user_info);
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
DEBUG(11,("auth_check_password_send: "
"%s had nothing to say\n",
"%s doesn't want to check\n",
method->ops->name));
continue;
}
@ -387,10 +387,15 @@ static void auth_check_password_async_trigger(struct tevent_context *ev,
state,
state->user_info,
&state->user_info_dc);
if (!NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
/* the backend has handled the request */
break;
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
DEBUG(11,("auth_check_password_send: "
"%s passes to the next method\n",
method->ops->name));
continue;
}
/* the backend has handled the request */
break;
}
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {