Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to   
Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > IIS Auth Error - Kerberos/NTLM not accepting credentials




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    IIS Auth Error - Kerberos/NTLM not accepting credentials  
Colin Bowern


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-12-05 10:55 PM

I've got a Windows Server 2003 / IIS 6 machine running Windows SharePoint
Services that users are having problems authenticating against.  When
someone tries to connect they are prompted for credentials.

-- The Windows XP SP2 client computers have the domain added to the local
intranet zone ("*.mydomain.com").

-- The IIS 6 virtual server is set to use host header names (dev,
dev.mydomain.com) which is different from the machine name (frink,
frink.mydomain.com).

-- IIS has been configured to use both Kerberos and NTLM (as per
http://support.microsoft.com/?id=832769)

-- The application pool identity is a domain user account which belongs to
IIS_WPG, STS_WPG.  SPNs have been set up as follows (to cover all the
bases):
setspn -A HTTP/frink MYDOMAIN\sharepoint
setspn -A HTTP/dev MYDOMAIN\sharepoint
setspn -A HTTP/dev.mydomain.com MYDOMAIN\sharepoint

-- The application pool identity domain user account has been set to "Trust
this user for delegation to any service (Kerberos only)".

There is one particular computer which seems to be causing the most
problems.  This user is setup like every other user in terms of permissions,
group access, etc.  On their Windows XP SP2 laptop they attempt to login and
get prompted for credentials.  If they enter it correctly they get through.
Another sharepoint instance is installed on a domain controller and the user
is able to access that one without being prompted for credentials.

Looking at the headers being passed by ieHTTPHeaders the negotiate header is
getting sent along with the credential blob.  On the server end it's
showing:

Event Type: Failure Audit
Event Source: Security
Event Category: Logon/Logoff
Event ID: 529
Date:  1/12/2005
Time:  4:47:12 PM
User:  NT AUTHORITY\SYSTEM
Computer: FRINK
Description:
Logon Failure:
Reason:  Unknown user name or bad password
User Name: problem.user
Domain:  dev.mydomain.com
Logon Type: 3
Logon Process: NtLmSsp
Authentication Package: NTLM
Workstation Name: USER-LAPTOP
Caller User Name: -
Caller Domain: -
Caller Logon ID: -
Caller Process ID: -
Transited Services: -
Source Network Address: 192.168.1.111
Source Port: 1446

The interesting bits here is that the domain is not the domain of the
network but the name of the machine.  Also, even though the browser is IE 6,
the machine has logged on successfully to the network, and the headers show
negotiate the audit log entry is showing NTLM as the auth package.

Any thoughts on what to do next would be great!
Thanks!
Colin

PS - I've been over the following resources already with no luck:
http://www.choam.org/tbp/weblog/2003/08/02/000072
http://groups-beta.google.com/group...4d0295f8e76c514







[ Post a follow-up to this message ]



    Re: IIS Auth Error - Kerberos/NTLM not accepting credentials  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-16-05 12:47 PM

Have you got the relevant IIS logfile entries? Can you post those to
complete the picture? Thanks

Cheers
Ken

"Colin Bowern" <colinbowern@nospam.indimensions.com> wrote in message
news:e8NGrGP%23EHA.2600@TK2MSFTNGP09.phx.gbl...
> I've got a Windows Server 2003 / IIS 6 machine running Windows SharePoint
> Services that users are having problems authenticating against.  When
> someone tries to connect they are prompted for credentials.
>
> -- The Windows XP SP2 client computers have the domain added to the local
> intranet zone ("*.mydomain.com").
>
> -- The IIS 6 virtual server is set to use host header names (dev,
> dev.mydomain.com) which is different from the machine name (frink,
> frink.mydomain.com).
>
> -- IIS has been configured to use both Kerberos and NTLM (as per
> http://support.microsoft.com/?id=832769)
>
> -- The application pool identity is a domain user account which belongs to
> IIS_WPG, STS_WPG.  SPNs have been set up as follows (to cover all the
> bases):
> setspn -A HTTP/frink MYDOMAIN\sharepoint
> setspn -A HTTP/dev MYDOMAIN\sharepoint
> setspn -A HTTP/dev.mydomain.com MYDOMAIN\sharepoint
>
> -- The application pool identity domain user account has been set to
> "Trust
> this user for delegation to any service (Kerberos only)".
>
> There is one particular computer which seems to be causing the most
> problems.  This user is setup like every other user in terms of
> permissions, group access, etc.  On their Windows XP SP2 laptop they
> attempt to login and get prompted for credentials.  If they enter it
> correctly they get through. Another sharepoint instance is installed on a
> domain controller and the user is able to access that one without being
> prompted for credentials.
>
> Looking at the headers being passed by ieHTTPHeaders the negotiate header
> is getting sent along with the credential blob.  On the server end it's
> showing:
>
> Event Type: Failure Audit
> Event Source: Security
> Event Category: Logon/Logoff
> Event ID: 529
> Date:  1/12/2005
> Time:  4:47:12 PM
> User:  NT AUTHORITY\SYSTEM
> Computer: FRINK
> Description:
> Logon Failure:
>  Reason:  Unknown user name or bad password
>  User Name: problem.user
>  Domain:  dev.mydomain.com
>  Logon Type: 3
>  Logon Process: NtLmSsp
>  Authentication Package: NTLM
>  Workstation Name: USER-LAPTOP
>  Caller User Name: -
>  Caller Domain: -
>  Caller Logon ID: -
>  Caller Process ID: -
>  Transited Services: -
>  Source Network Address: 192.168.1.111
>  Source Port: 1446
>
> The interesting bits here is that the domain is not the domain of the
> network but the name of the machine.  Also, even though the browser is IE
> 6, the machine has logged on successfully to the network, and the headers
> show negotiate the audit log entry is showing NTLM as the auth package.
>
> Any thoughts on what to do next would be great!
> Thanks!
> Colin
>
> PS - I've been over the following resources already with no luck:
> http://www.choam.org/tbp/weblog/2003/08/02/000072
> http://groups-beta.google.com/group...4d0295f8e76c514
>







[ Post a follow-up to this message ]



Minkus is offline     Re: IIS Auth Error - Kerberos/NTLM not accepting credentials  
Minkus


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for Minkus Click here to Send Minkus a Private Message Find more posts by Minkus Add Minkus to your buddy list
 
01-18-05 02:03 PM

Try logging on as the affected user on the affected machine, and going to Co
ntrol Panel/User Accounts/Advanced/Manage Passwords. If there is an entry fo
r the site in question, delete it.

I can explain why I think this helps if you like, but let me know if it work
s first!

quote:
Originally posted by Colin Bowern There is one particular computer which seems to be causing the most problems. This user is setup like every other user in terms of permissions, group access, etc. On their Windows XP SP2 laptop they attempt to login and get prompted for credentials. If they enter it correctly they get through. Another sharepoint instance is installed on a domain controller and the user is able to access that one without being prompted for credentials.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:00 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

Back To The Top
Home | Usercp | Faq | Register