diff --git a/src/WINNT/afsd/smb.c b/src/WINNT/afsd/smb.c index 65c674b7b8..2833abde5a 100644 --- a/src/WINNT/afsd/smb.c +++ b/src/WINNT/afsd/smb.c @@ -2465,7 +2465,9 @@ void smb_MapNTError(long code, unsigned long *NTStatusp) NTStatus = 0xC00000BEL; /* Bad Network Path */ } #endif - else { + else if (code == RXKADUNKNOWNKEY) { + NTStatus = 0xC0000322L; /* Bad Kerberos key */ + } else { NTStatus = 0xC0982001L; /* SMB non-specific error */ }