I have a site running on IIS7. The application pool is running under a local machine account. We are using Windows Authentication to authenticate users but this is failing because the local account does not seem to have permission to make the Kerberos request to the domain controller as the event log seems to indicate:
An account was successfully logged on.
Subject:
Security ID: NULL SID
Account Name: –
Account Domain: –
Logon ID: 0x0
Logon Type: 3
New Logon:
Security ID: MyDomain\mark
Account Name: Mark
Account Domain: MyDomain
Logon ID: 0x2ed3554
Logon GUID: {4a4f0c3f-2232-c2d9-9868-3a020042810f}
If I use the accounts Network Service, Local Service or Local System then all works fine. So what additional permission do I need to grant my local machine account so that it can support Windows Authentication with Kerberos?
Thank!
After some more research I think basically it is a flawed idea using a local machine account with Kerberos. There doesn’t seem to be a way to add the local account into AD so how could it communicate with the domain controller? Therefore, I opted for disabling Kerberos on sites running under a local account:
Hope this helps someone.