]> git.ipfire.org Git - thirdparty/samba.git/commit
krb5_wrap: map KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN to NT_STATUS_INVALID_COMPUTER_NAME
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Nov 2019 14:38:42 +0000 (15:38 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 10 Feb 2020 16:32:38 +0000 (16:32 +0000)
commit765b0eac63ef508c66f4e615882d8eb5bb7ae929
treeb73c61960d7e8ed69cc92f951ea08b40ec2ea08b
parentc403fa1a7fe6725957aab7e8039877d1becad8bf
krb5_wrap: map KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN to NT_STATUS_INVALID_COMPUTER_NAME

KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN is already mapped to
NT_STATUS_INVALID_ACCOUNT_NAME and we need a way to
distinguish between client and server principal
at the NTSTATUS layer too.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/krb5_wrap/krb5_errs.c