SockAuth, Kerberos, AcceptSecurityContext() fails with SEC_E_NO_CREDENTIALS after a while



Hello,

I am testing SockAuth for Kerberos authentication on Windows XP SP2
with Platform SDK April 2005.

    server.exe -pKerberos
    client.exe  -szushi -tnao -pKerberos

This works fine for several hours after I log in to my PC.

    Package Name: Kerberos
    Authentication Succeeded!
    Connected to server as user: ANONYMOUS LOGON

However, after I leave the PC up and screen locked for a while, say,
overnight, when I come back, unlock the screen and run the test, the
same test would fail.  In server.exe, AcceptSecurityContext() fails
with SEC_E_NO_CREDENTIALS.

I suspected one of the tickets had expired.  However, kerbtray.exe
shows that all the tickets, including krbtgt of my account (nao), had
been renewed successfully.

So I am at a loss.  Could anyone shine a light on a solution to this?
Has something expired during the night?  If it did, how can I renew it?
 

Thank you,

.



Relevant Pages

  • SockAuth, Kerberos, AcceptSecurityContext() fails with SEC_E_NO_CREDENTIALS after a while
    ... I am testing SockAuth for Kerberos authentication on Windows XP SP2 ... with Platform SDK April 2005. ... same test would fail. ... I suspected one of the tickets had expired. ...
    (microsoft.public.platformsdk.security)
  • Mail.app with multiple accounts using Kerberos
    ... I've been trying to get Mail.app to work simultaneously with my IMAP accounts at two institutions, each of which uses Kerberos authentication. ... The best I've been able to do as of yet is to acquire tickets for each realm, then manually switch primary tickets and the online status of the mailboxes. ...
    (comp.protocols.kerberos)