Re: Service principal name (SPN) / Active Directory Problem



Hi,

Thanks for the information.

At the very least:
You will need to register a SPNs for HTTP/servername and
HTTP/servername.domain.com under the Domain\WebTest3_asp account.
Alternatively you can register the HOST/servername and
HOST/servername.domain.com SPNs

You can use the SetSPN tool from the Windows Resource Kit to do this:
http://support.microsoft.com/kb/892777

Or you can use ADSIEdit.msc (this is a GUI tool, if you prefer to be able to
see the current SPNs, and just copy then relevant information across):
http://technet2.microsoft.com/WindowsServer/en/Library/ebca3324-5427-471a-bc19-9aa1decd3d401033.mspx?mfr=true

Note: All web applications residing at the location http://servername must
be running in one (or more) app pools that have the same identity
(WebTest3_asp). You can't have apps running in app pools with different
identities (e.g. http://servername/app1 -> WebTest3_asp, and
http://servername/webapp2 running in an app pool under Network Service)

The two events that you see are logon/logoff failuring auditing events. You
should have got more events related to Kerberos issues (did you restart the
box after setting the reg key?)

Cheers
Ken

<rcarbol@xxxxxxxx> wrote in message
news:1149006824.105733.277650@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Ken Schaefer wrote:

a) The URL that is being used to access the web page - are you using
http://servername or http://servername.domain.com? Or are you using some
kind of DNS alias?

We're using http://servername within an intranet. Does it make a
difference?


b) The website's web application pool: what user context is it being run
under? Is it Network Service? Or a custom user context?

I think it must be some custom user; the Identity is set to an account
of the form
[domain]\webtest3_asp


c) Lastly, can you enable Kerberos logging on the IIS box, and post the
relevant event log entries? Thanks
http://support.microsoft.com/?id=262177

Done. Two events reported when I tried to hit the website:

Event Type: Failure Audit
Event Source: Security
Event Category: Account Logon
Event ID: 680
Date: 2006/05/30
Time: 10:22:43 AM
User: NT AUTHORITY\SYSTEM
Computer: WEBTEST3
Description:
Logon attempt by: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
Logon account: [domain]/[my account]
Source Workstation: VE657818
Error Code: 0xC0000064

.

Event Type: Failure Audit
Event Source: Security
Event Category: Logon/Logoff
Event ID: 529
Date: 2006/05/30
Time: 10:22:43 AM
User: NT AUTHORITY\SYSTEM
Computer: WEBTEST3
Description:
Logon Failure:
Reason: Unknown user name or bad password
User Name: [domain]/[my account]
Domain:
Logon Type: 3
Logon Process: NtLmSsp
Authentication Package: NTLM
Workstation Name: VE657818
Caller User Name: -
Caller Domain: -
Caller Logon ID: -
Caller Process ID: -
Transited Services: -
Source Network Address: 142.15.48.132
Source Port: 2384




Thanks,
Roger



.



Relevant Pages

  • Re: Kerberos Problem with App Pool running as Domain Account
    ... SPNs registered for the DNS alias and the server name, ... account, perhaps IIS itself has to as well (instead of the IUSR_IISSERVER ... An error occurred during logon ... Caller User Name: IISSERVER$ ...
    (microsoft.public.inetserver.iis.security)
  • IIS, Trend, Exhaustion, Permissions, Heelp!!!
    ... passwords using IIS and adsutil as in List 2. ... Logon Failure: ... Caller User Name: NETWORK SERVICE ... To reset the password for the IUSR_ComputerName account, ...
    (microsoft.public.windows.server.sbs)
  • Re: Kerberos Problem with App Pool running as Domain Account
    ... You can not have the same SPN registered under more than one object (e.g. under two user accounts, or two computer accounts or a user account and a computer account). ... If you have SPNs under more than one account then the DC doesn't know which password to use, ... > Logon Failure: ... > Caller User Name: IISSERVER$ ...
    (microsoft.public.inetserver.iis.security)
  • Failed Logon Attempts
    ... It appears as though they hit the "admin" account & ... Logon account: admin ... Source Workstation: SERVER ... Caller User Name: SERVER$ ...
    (microsoft.public.windows.server.sbs)
  • Re: Another security question/issue.
    ... The first event is missing the username and logon process appears 'munged'. ... Caller User Name: MYSERVER-SBS$ ... and, no I have not changed the administrator account password, but I ...
    (microsoft.public.windows.server.sbs)