Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

Kerberos issues ID 4 error

$
0
0

I can't get kerberos authentication working with my IIS sites. These are the steps I've performed

1. Created a domeain account for the sites app pool and granted the account delegation authority.

2. Set the spn of the site to the service account

3. Enabled Negotiate(Kerberos) and disabled kernel mode authentication

4. Set useAppPoolCredentials to True for the site

5. Set the apppool to use the domain account.

When I attempt to connect to the site I get the following error:

The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server igsaaahigsvaii8$. The target name used was HTTP/authpage.domain.com. This indicates that the target server failed to decrypt the ticket provided by the client. This can occur when the target server principal name (SPN) is registered on an account other than the account the target service is using. Please ensure that the target SPN is registered on, and only registered on, the account used by the server. This error can also happen when the target service is using a different password for the target service account than what the Kerberos Key Distribution Center (KDC) has for the target service account. Please ensure that the service on the server and the KDC are both updated to use the current password. If the server name is not fully qualified, and the target domain (my.doimain.NET) is different from the client domain (my.domain.NET), check if there are identically named server accounts in these two domains, or use the fully-qualified name to identify the server.

There are no duplicate spns for the site or server.

setspn -l on the service account produces the following:

PS C:\Users\hcaldwell> setspn -l gs\igsaaahi-facilities
Registered ServicePrincipalNames for CN=igsaaahi-facilities-http,OU=HTTP SPNs,OU=Service Accounts,OU=NatWeb,OU=DI,DC=my,
DC=domain,DC=net:
HTTP://igsaaahigsvaii8.my.domain.net
HTTP/igsaaahigsvaii8.my.domain.net
HTTP/igsaaahigsvaii8
HTTP/authpage.mydomain.com
HTTP/dev-facilities
HTTP/dev-facilities.mydomain.com

How can I determine if the KDC and the service account are using the same password? If they are different how do I get them in sync?

thanks,

Hugh


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>