From 5d3c6dbf61b87952330e5e076afbe1fce8fa183f Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Fri, 16 Feb 2024 17:16:57 +0100 Subject: [PATCH] s3-errormap: add WBC_ERR_NOT_MAPPED -> NT_STATUS_NONE_MAPPED Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- source3/libsmb/errormap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c index 1db96d90038..fb2371e3009 100644 --- a/source3/libsmb/errormap.c +++ b/source3/libsmb/errormap.c @@ -315,7 +315,8 @@ static const struct { { WBC_ERR_AUTH_ERROR, NT_STATUS_LOGON_FAILURE }, { WBC_ERR_UNKNOWN_USER, NT_STATUS_NO_SUCH_USER }, { WBC_ERR_UNKNOWN_GROUP, NT_STATUS_NO_SUCH_GROUP }, - { WBC_ERR_PWD_CHANGE_FAILED, NT_STATUS_PASSWORD_RESTRICTION } + { WBC_ERR_PWD_CHANGE_FAILED, NT_STATUS_PASSWORD_RESTRICTION }, + { WBC_ERR_NOT_MAPPED, NT_STATUS_NONE_MAPPED }, }; NTSTATUS map_nt_error_from_wbcErr(wbcErr wbc_err)