From d032569f2e441afd59b85a16ae7e0adcdd9f8ad2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 7 Feb 2020 13:08:43 +0100 Subject: [PATCH] smbspool: add more error codes to the auth_errors array Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- source3/client/smbspool.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index c9efe176d3e..e8be739f5cd 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -477,11 +477,17 @@ get_exit_code(NTSTATUS nt_status) NT_STATUS_ACCESS_DENIED, NT_STATUS_ACCESS_VIOLATION, NT_STATUS_ACCOUNT_DISABLED, + NT_STATUS_ACCOUNT_LOCKED_OUT, NT_STATUS_ACCOUNT_RESTRICTION, + NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND, NT_STATUS_INVALID_ACCOUNT_NAME, + NT_STATUS_INVALID_COMPUTER_NAME, NT_STATUS_INVALID_LOGON_HOURS, + NT_STATUS_INVALID_WORKSTATION, NT_STATUS_LOGON_FAILURE, NT_STATUS_NO_SUCH_USER, + NT_STATUS_NO_SUCH_DOMAIN, + NT_STATUS_NO_LOGON_SERVERS, NT_STATUS_PASSWORD_EXPIRED, NT_STATUS_PRIVILEGE_NOT_HELD, NT_STATUS_SHARING_VIOLATION,