mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +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);
|
status = method->ops->want_check(method, req, state->user_info);
|
||||||
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
|
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
|
||||||
DEBUG(11,("auth_check_password_send: "
|
DEBUG(11,("auth_check_password_send: "
|
||||||
"%s had nothing to say\n",
|
"%s doesn't want to check\n",
|
||||||
method->ops->name));
|
method->ops->name));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -387,10 +387,15 @@ static void auth_check_password_async_trigger(struct tevent_context *ev,
|
|||||||
state,
|
state,
|
||||||
state->user_info,
|
state->user_info,
|
||||||
&state->user_info_dc);
|
&state->user_info_dc);
|
||||||
if (!NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
|
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
|
||||||
/* the backend has handled the request */
|
DEBUG(11,("auth_check_password_send: "
|
||||||
break;
|
"%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)) {
|
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user