From 2d349000887670c1127d354e9ce2b53284caf7f9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 20 Dec 2006 10:54:09 +0000 Subject: r20273: Map KRB5_KDCREP_SKEW to NT_STATUS_TIME_DIFFERENCE_AT_DC. This gives much nicer error messages when failing to join due to clock skew. Guenther (This used to be commit 5c5a7611029ff1b630c53d4660578e188acf97f5) --- source3/libads/krb5_errs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/libads/krb5_errs.c b/source3/libads/krb5_errs.c index 38d34f8676..a4a3bd3adb 100644 --- a/source3/libads/krb5_errs.c +++ b/source3/libads/krb5_errs.c @@ -50,6 +50,7 @@ static const struct { {KRB5KRB_AP_ERR_BAD_INTEGRITY, NT_STATUS_LOGON_FAILURE}, {KRB5KRB_AP_ERR_MODIFIED, NT_STATUS_LOGON_FAILURE}, {KRB5KRB_AP_ERR_SKEW, NT_STATUS_TIME_DIFFERENCE_AT_DC}, + {KRB5_KDCREP_SKEW, NT_STATUS_TIME_DIFFERENCE_AT_DC}, {KRB5KRB_AP_ERR_TKT_EXPIRED, NT_STATUS_LOGON_FAILURE}, {KRB5KRB_ERR_GENERIC, NT_STATUS_UNSUCCESSFUL}, #if defined(KRB5KRB_ERR_RESPONSE_TOO_BIG) -- cgit