locked
AcceptSecurityContext (Kerberos) returns SEC_E_LOGON_DENIED RRS feed

  • Question

  • Hi,

    I am trying to write a simple application that performs Kerberos authentication (no mutual authentication for now).

    The operating system is Windows server 2003, standard edition.

    I have setup Active directory and created an SPN using setspn tool.

    AcquireCredentialsHandle returns SEC_E_OK both on client and on server.

    InitializeSecurityContext on client side returns SEC_E_OK.

    AcceptSecurityContext on server side returns SEC_E_LOGON_DENIED.

    I am sure there's nothing wrong in my code since the same behaviour I see when using the sample application from the following MSDN article: http://msdn.microsoft.com/en-us/magazine/dvdarchive/bb985043.aspx

    So I guess there is something wrong in my setup. But I can't find out what. Maybe I have missed something in SPN setup? Any help is appreciated.

     

    Regards, David.

    Friday, March 19, 2010 10:33 AM

All replies

  • As you guess there is something wrong in your setup, would you please give more information about your SPN SETUP?
    MCSE | WAN/LAN Converter Engine For High-ranking Security
    Tuesday, June 15, 2010 3:00 AM