1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s3:auth_winbind: return NT_STATUS_NO_LOGON_SERVERS if winbindd is not available

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
Stefan Metzmacher 2018-12-08 22:53:21 +01:00 committed by Alexander Bokovoy
parent f3bac8c911
commit ec3adc1e5b

View File

@ -110,7 +110,7 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
}
if (wbc_status == WBC_ERR_WINBIND_NOT_AVAILABLE) {
return NT_STATUS_LOGON_FAILURE;
return NT_STATUS_NO_LOGON_SERVERS;
}
if (wbc_status == WBC_ERR_AUTH_ERROR) {