RE: Confusing Kerberos Error



Hi Simon,

This error is typically caused by a DNS error, or incorrect SPN
registration. When you request a kerberos ticket the request is made to a
KDC with the SPN in the form service/servername. The KDC takes this
request and searches the AD DB for any objects with the SPN specified in
the request in the serviceprincipalname attribute. The kerberos ticket is
then encrypted with the password of the sercurity principal the SPN was
found in. The CIFS service is covered by the host/servername SPN.

If this were a DNS problem the situation would progress something like this:
A User requests authentication for fileserver1. The host SPN for
fileserver1 is located in the fileserver1 computer account and a ticket is
provided encrypted with fileserver1's password. DNS however is directing
fileserver1's name to the IP address of fileserver2. The error will then
be logged as the ticket provided to fileserver2 is encrypted with a
password that fileserver2 cannot decrypt.

If this were an SPN registration problem the situation would progress like
this:
A user requests authentication for fileserver1. The host SPN for
fileserver1 is located on the fileserver2 computer account and a ticket is
provided encrypted with fileserver2's password. DNS directs the client to
fileserver1 but since the ticket is encrypted with fileserver2's password
the error is thrown as it cannot be decrypted.

It would not be common for this error to be thrown by a time skew alone as
the ticket can be successfully decrypted as the password is still the same,
however the authenticator is to far in the past or future. This would
typically throw a different error, KRB_AP_ERR_SKEW.


Hope this helps,

Brian Delaney
Microsoft Canada
--

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Sibine" <simon.jessop@xxxxxxxxx>
Newsgroups: microsoft.public.windows.server.general
Subject: Confusing Kerberos Error
Date: 5 Jan 2007 09:04:16 -0800
Organization: http://groups.google.com

The main Server at a site which has 3 servers (login, file server,
exchange server) has started reporting these errors.

I've had a nose through and I wanted to follow up a previous topic but
its now expired.

This is the error: (edited for security)

The kerberos client received a KRB_AP_ERR_MODIFIED error from the
server workstation$. The target name used was cifs/*****.******.co.uk.
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
(******.******.com), and the client realm. Please contact your system
administrator.

I've seen a few people pointing towards maybe a clock problem on the
workstations or maybe checking the DNS for a problem. Can anyone assist
in helping pointing me in the right direction? If it is a DNS issue,
what am I looking for and where might I find it?

Many thanks,

Simon



.



Relevant Pages

  • Re: Confusing Kerberos Error
    ... I think I'm with you on the DNS error. ... This error is typically caused by a DNS error, or incorrect SPN ... The kerberos ticket is ... A User requests authentication for fileserver1. ...
    (microsoft.public.windows.server.general)
  • Re: How do you manage 1000+ UNIX systems ?
    ... to make a change, she has to request it, get it approved ... You only do when you get a ticket. ... Change Management and Trouble Ticketing. ... was an unpersonalised mail alias inside sysadmin mail group. ...
    (comp.unix.solaris)
  • Re: Kerberos and Service Ticket Failure nightmares
    ... Maximum lifetime for Service Ticket 600 minutes. ... >Description: Authentication Ticket Request Failed ... >>> Accounts Manager, intern allowing a users account to ...
    (microsoft.public.win2000.security)
  • Re: Bozo was boffo, no?
    ... was to request a ticket to the show -- then, just maybe, the ticket ... their request soon after he was born. ... WGN;s Bozo was played by Bob Bell. ...
    (alt.usage.english)
  • Re: Kerberos error trying to talk to a server that no longer exists
    ... Do a search for an object that has that SPN. ... That SPN is probably on a different account object than the one that is ... based on what's stored in AD and gave that ticket to the client. ...
    (microsoft.public.windows.server.active_directory)