Kerberos Authentication Errors
- From: headware <david.k.land@xxxxxxxxx>
- Date: Thu, 16 Jul 2009 13:03:15 -0700 (PDT)
We're having an issue with Kerberos authentication for an ASP.NET app.
The web server is Windows 2003 R2 SP1, running IIS 6.0. We have an
ASP.NET app set up to use Windows Authentication. The app pool is set
up to run under a domain account instead of NETWORK SERVICE. We had to
add SPNs for the server and domain account in AD in order to make
authentication work and everything did work fine.
Now we want to remove the domain user from the app pool and go back to
using NETWORK SERVICE but it's not working. We're getting the 401.1
error we got before we had set up the SPNs and we were trying to use
the domain account.
What's going on here? The Event log on the client contains messages
like this:
"The kerberos client received a KRB_AP_ERR_MODIFIED error from the
server host/ourserver.ourdomain. This indicates that the password
used to encrypt the kerberos service ticket is different than that on
the target server. Commonly, this is due to identically named machine
accounts in the target realm (ourdomain), and the client realm.
Please contact your system administrator."
Not sure what they mean by "identically named machine accounts", but
we're not seeing any duplication in AD. Also we tried resetting the
server's machine account password in AD and it didn't help.
The web server contains errors like this in the event viewer:
Logon Failure:
Reason: Unknown user name or bad password
User Name:
Domain:
Logon Type: 3
Logon Process: Kerberos
Authentication Package: Kerberos
Workstation Name: -
Caller User Name: -
Caller Domain: -
Caller Logon ID: -
Caller Process ID: -
Transited Services: -
Source Network Address: 1.2.3.4
Source Port: 2166
You'll notice that the user name and domain aren't being passed in.
Does anyone have any ideas about this? Is there some kind of cache
that needs to be cleared out?
Thanks,
Dave
.
- Follow-Ups:
- Re: Kerberos Authentication Errors
- From: Ken Schaefer
- Re: Kerberos Authentication Errors
- Prev by Date: Re: local access to websites
- Next by Date: How to configure IIS 7 to use a built-in account
- Previous by thread: Re: vbscript help maybe?
- Next by thread: Re: Kerberos Authentication Errors
- Index(es):
Relevant Pages
|