[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KRB5KRB_AP_ERR_MODIFIED during protocol transition




18 jun 2007 kl. 22.42 skrev Gaurav Gupta:

>
> I am trying to do Protocol Transition using the Heimdal-0.8 library
> implementation.
> I am using the following command to initiate protocol transition:
> kgetcred --impersonate=<user> <service>

Not yet with windows, but lets start with this obvjous patch which  
gets us out a little but futher.

Love


Index: misc.c
===================================================================
--- misc.c	(revision 21030)
+++ misc.c	(working copy)
@@ -51,6 +51,7 @@
  	krb5_clear_error_string(context);
  	return ENOMEM;
      }
+    krb5_storage_set_flags(sp, KRB5_STORAGE_BYTEORDER_LE);
      ret = krb5_store_int32(sp, self->name.name_type);
      if (ret)
  	goto out;