From: Ralph Boehme Date: Fri, 16 Feb 2024 16:16:57 +0000 (+0100) Subject: s3-errormap: add WBC_ERR_NOT_MAPPED -> NT_STATUS_NONE_MAPPED X-Git-Tag: tdb-1.4.11~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d3c6dbf61b87952330e5e076afbe1fce8fa183f;p=thirdparty%2Fsamba.git s3-errormap: add WBC_ERR_NOT_MAPPED -> NT_STATUS_NONE_MAPPED Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- 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)