summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-12-08 22:53:21 +0100
committerKarolin Seeger <kseeger@samba.org>2019-01-09 10:13:15 +0100
commit2181925b13c481b2923dec1035fdea03598ab855 (patch)
tree76b44211a09d71a05c9b50717c69894f967cfdca
parentab1bcc4e56f67914867454cd09df2c65e0531587 (diff)
downloadsamba-2181925b13c481b2923dec1035fdea03598ab855.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> (cherry picked from commit ec3adc1e5b3cc953576efa795dfb25af08a8ab79)
-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) {