windows-rxkadunknownkey-20051019
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 19 Oct 2005 07:57:52 +0000 (07:57 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 19 Oct 2005 07:57:52 +0000 (07:57 +0000)
report RXKADUNKNOWNKEY as SEC_E_NO_KERB_KEY

src/WINNT/afsd/smb.c

index 65c674b..2833abd 100644 (file)
@@ -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 */
     }