svn commit: lorikeet r288 - in trunk/heimdal/lib/krb5: .

abartlet at samba.org abartlet at samba.org
Sat May 14 08:01:34 GMT 2005


Author: abartlet
Date: 2005-05-14 08:01:34 +0000 (Sat, 14 May 2005)
New Revision: 288

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=288

Log:
Until we figure out exactly how to handle this, at least return a much
better error message.

Andrew Bartlett

Modified:
   trunk/heimdal/lib/krb5/rd_rep.c


Changeset:
Modified: trunk/heimdal/lib/krb5/rd_rep.c
===================================================================
--- trunk/heimdal/lib/krb5/rd_rep.c	2005-05-14 07:59:48 UTC (rev 287)
+++ trunk/heimdal/lib/krb5/rd_rep.c	2005-05-14 08:01:34 UTC (rev 288)
@@ -93,7 +93,7 @@
   if ((*repl)->ctime != auth_context->authenticator->ctime ||
       (*repl)->cusec != auth_context->authenticator->cusec) {
     ret = KRB5KRB_AP_ERR_MUT_FAIL;
-    krb5_clear_error_string (context);
+    krb5_set_error_string (context, "Mutual authentication failed: Timestamps mismatch");
     goto out;
   }
   if ((*repl)->seq_number)



More information about the samba-cvs mailing list