summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-12-08 22:53:21 +0100
committerAlexander Bokovoy <ab@samba.org>2018-12-20 08:41:25 +0100
commitec3adc1e5b3cc953576efa795dfb25af08a8ab79 (patch)
treedac63334ca68549ef4483ec62d45a23d810fe1ec /source3/auth
parentf3bac8c91121871bf8ce852bc3e3ea2e834d3f27 (diff)
downloadsamba-ec3adc1e5b3cc953576efa795dfb25af08a8ab79.tar.gz
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>
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_winbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index 10e6c53c108..0f5d684ff18 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -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) {