summaryrefslogtreecommitdiff
path: root/source/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-12-20 10:54:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:38 -0500
commit5c5a7611029ff1b630c53d4660578e188acf97f5 (patch)
treee0e9a0d2f4756bada2b123da57fddaa80495a5a0 /source/libads
parentc703d2ae1f891d35115bb6da0399387a9db2d917 (diff)
downloadsamba-5c5a7611029ff1b630c53d4660578e188acf97f5.tar.gz
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
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/krb5_errs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/libads/krb5_errs.c b/source/libads/krb5_errs.c
index 38d34f86769..a4a3bd3adb3 100644
--- a/source/libads/krb5_errs.c
+++ b/source/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)