Make the send e_text on time skew error default to make it work with windows clients.

This commit is contained in:
Love Hornquist Astrand
2009-08-04 20:09:02 +02:00
parent 772dfac438
commit 013fb45a7f

View File

@@ -1208,19 +1208,13 @@ _kdc_as_rep(krb5_context context,
(unsigned)abs(kdc_time - p.patimestamp), (unsigned)abs(kdc_time - p.patimestamp),
context->max_skew, context->max_skew,
client_name); client_name);
#if 0
/* This code is from samba, needs testing */
/* /*
* the following is needed to make windows clients * The following is needed to make windows clients to
* to retry using the timestamp in the error message * retry using the timestamp in the error message, if
* * there is a e_text, they become unhappy.
* this is maybe a bug in windows to not trying when e_text
* is present...
*/ */
e_text = NULL; e_text = NULL;
#else
e_text = "Too large time skew";
#endif
goto out; goto out;
} }
et.flags.pre_authent = 1; et.flags.pre_authent = 1;