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:
parent
541d687347
commit
61e499cbaa
@ -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,11 +387,16 @@ 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)) {
|
||||
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)) {
|
||||
state->authoritative = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user