Integrity check on decrypted field failed (31)

Hi,

Your help is really appreciated !

I have a client program and a web service running on Apache web service. Both running on the same machine. From the client program I can perfectly use Java GSS (JDK1.5-update_8) to fetch from the cache a tgt and do login to the KDC and so ...

ker5login.conf

login_client{

com.sun.security.auth.module.Krb5LoginModule required

useCache=true

useTicketCache=true

debug=true

storeKey = false

ticketCache="/tmp/krb5cc_500";

};

LoginContext lc = null;

lc = new LoginContext("login_client", new TextCallbackHandler());

lc.login();

..........

However when I use the same code to login to KDC from my running web service it comes with :

Integrity check on decrypted field failed (31)

In fact, what ever that I am trying to do on service side like decrypting a session key and so I get the same error message .

Anyone has any idea ?

Steve

[1003 byte] By [Steve8000a] at [2008-1-12]