Error 401.1

N

Nay

Hi
I work with windows authentication, not allow anonymous, and with custom
pool(domain user)
The problem is that I get this error only if the url is by server name. If
it's by IP number, I have no problem.

What can the problem be?
 
J

Joe Kaplan \(MVP - ADSI\)

Is it possible there might be a problem with Kerberos configuration? Do you
see any errors in the server's system event log from Kerberos? If you
enable auditing of logon events, what type of logon processes the user when
it fails?

Typically, using an IP address in the URL will force a downgrade to NTLM.
That might be why things are working.

When using Kerberos auth, both the user and server are authenticated. The
server is authenticated via its servicePrincipalName. I bet you that the
SPN for the server name that you are using in the URL is associated with the
computer account for the server, not your custom domain user. As such, the
app pool itself cannot be authenticated.

Typically, the way to correct this is to move the SPN that is being used
from the computer account to the custom account. You can also fix this by
creating a different DNS name for the service (with an A record, not a
CNAME, as Kerberos will resolve CNAME back to the A record!) and set your
special service account to have that SPN.

HTH!

Joe K.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top