1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3-errormap: add WBC_ERR_NOT_MAPPED -> NT_STATUS_NONE_MAPPED

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Ralph Boehme 2024-02-16 17:16:57 +01:00 committed by Stefan Metzmacher
parent 1b63d503fc
commit 5d3c6dbf61

View File

@ -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)