all groups > iis security > january 2008 >
You're in the

iis security

group:

IIS 6 und Kerberos


IIS 6 und Kerberos Tobia
1/17/2008 4:42:34 PM
iis security:
Hi!
I've a problem. I don't no it's my problem or a problem of IIS.
The scenario:
We have a member server with IIS in a W2K3 domain. There is only one website
on it, one Applpool, only one default.htm (simple HTML, no script).
Authentication isn't allowed anonym and Authentication methode is Window
integriert.
If I authenticate with NTLM all is fine, the site is shown.
If I authenticate with Kerberos (Negotiate) a logon windows appears, I try
it 3 times, then it appears "HTTP Error 401.1 - Unauthorized: Access is
denied due to invalid credentials ".
The eventlog writes a security event 529 logon/logoff, Unkown username or
wrong password, logontyp 3, Auth paket Kerberos. (Sorry I have a german
system, here the original Event. the blanc points are so blanc)
Ereignistyp: Fehlerüberw.
Ereignisquelle: Security
Ereigniskategorie: An-/Abmeldung
Ereigniskennung: 529
Datum: 17.01.2008
Zeit: 15:40:40
Benutzer: NT-AUTORITÄT\SYSTEM
Computer: TT-W2003-KERB
Beschreibung:
Fehlgeschlagene Anmeldung:
Grund: Unbekannter Benutzername oder falsches Kennwort
Benutzername:
Domäne:
Anmeldetyp: 3
Anmeldevorgang: Kerberos
Authentifizierungspaket: Kerberos
Name der Arbeitsstation: -
Aufruferbenutzername: -
Aufruferdomäne: -
Aufruferanmeldekennung: -
Aufruferprozesskennung: -
Übertragene Dienste: -
Quellnetzwerkadresse: x.y.z.w
Quellport: 50449


All steps in http://support.microsoft.com/?id=871179 I made. I read many, I
tried many - now I'm at a loss.

Originally we configured the MOSS with SQL Server on other server for
Kerberos. Because this doesn't work, the scenario above was built.

Is there anywhere anyone being able to help? Please!
Hopeful
Tobia




RE: IIS 6 und Kerberos Pom
1/22/2008 4:35:02 PM
Have you set a SPN? see: http://support.microsoft.com/kb/929650 or the whole
series in MSDN: http://msdn2.microsoft.com/en-us/library/ms998297.aspx

[quoted text, click to view]
Re: IIS 6 und Kerberos Ken Schaefer
1/24/2008 12:25:49 PM
I have a long series on configuring/using Kerberos with IIS. This is part
5 - it has links to the earlier parts. Read the bits you need configured,
and then post if you are still having issues:
http://www.adopenstatic.com/cs/blogs/ken/archive/2007/07/18/8460.aspx

Cheers
Ken

[quoted text, click to view]
Re: IIS 6 und Kerberos Tobia
1/25/2008 9:59:00 AM

[quoted text, click to view]

Yes, of course I had set the SPNs.
Tobia
Re: IIS 6 und Kerberos Tobia
2/1/2008 4:48:56 PM
Thanks. The blanc scenario in IIS works now. But the main problem (MOSS,SQL
Server-all on other machines in the same domain) continues to exist.
I have checked everything once again. But I can't find the reason for the
trouble.
Great weekend
Tobia
Re: IIS 6 und Kerberos Tobia
2/4/2008 8:40:46 AM
Is this the right group for problems with MOSS? If so, I send the
description of my scenario.
Greating
Tobia

"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> schrieb im Newsbeitrag
news:%
[quoted text, click to view]
Re: IIS 6 und Kerberos Ken Schaefer
2/4/2008 11:41:29 AM

[quoted text, click to view]

Well, I know it works, so it's theoretically possible for this to be setup.

If it's not working, then something is still misconfigured.

As I mentioned, I wrote up five articles on this because there are a /lot/
of things that need to be checked and verified for your specific
configuration.

But at the moment, we don't have your configuration, or your settings or the
errors that you are getting.

So, it's impossible to help anymore.

Cheers
Ken

Re: IIS 6 und Kerberos Tobia
2/4/2008 4:14:12 PM
[quoted text, click to view]


Following situation:
We have a W2003 domain (2 DCs), a W2003 R2 Server with MOSS 2007 and a
additional W2003 R2Server with MS SQL Server 2005.
The MOSS installation is so, that the different services and functions use
different user accounts, i.e. not all is running under administrator like
the most sample installations.
The virtual server on port 80 (sharepoint-80) is configured to use one web
application with the identity SPadmin (domain account, member in local
administrators group and admin in Sharepoint). The shared services for the
Office Server virtual server run under SP_SSP (also a domain account).
On SQL Server a named instance works for MOSS (db/MOSS), windows
authentication is configured. The instance is running under a domain account
(SQLMoss).
The authentication on IIS is set to negotiate and NTLM for the virtual
server (sharepoint-80).
At the domain the user SPadmin has a SPN: HOST/MOSSserver and
HOST/MOSSserver.dom.de
and the user SQLMOsss has a SPN : MSSQLsvc/db:xyz and
MSSQLsvc/db.dom.de:xyz. SQLMoss is allowed to write its own SPN, so the
right port is set when the db instance starts.
No other SPNs are registered for that services.
The problem:
The access to MOSS is working up to the authentication provider is changed
to Negotiate. An Logon Window appears, after 3 trials it appears "HTTP Error
401.1 - Unauthorized: Access is
denied due to invalid credentials ". The MOSS sites are configured all to
use local intranet zone in IE.
Are you missing more information?
Thanks for help!
Tobia
Re: IIS 6 und Kerberos Ken Schaefer
2/4/2008 11:01:46 PM
We don't know if it's a MOSS issue.

It could be a client <-> server issue (is client authN via Kerberos to
server?)
It could be a protocol transition issue (client <-> server <-> SQL Server)
It could be an IIS configuration (what app pools are your sites running in?
What AuthN providers is IIS advertising to client)
It could be an AD configuration issue (what SPNs do you have registered?)
It could be some other issue (I still don't know your overall architecture -
what servers do you have, and what FQDNs are they being accessed by?)
etc
etc
etc

There are simply too many unknowns here.

Cheers
Ken

[quoted text, click to view]
Re: IIS 6 und Kerberos Tobia
2/6/2008 8:56:23 AM
Hello,
I've checked duplicate SPNs and I can't find any. I must correct my first
statement: At the domain the user SPadmin has a SPN: HTTP/MOSSserver and
HTTP/MOSSserver.dom.de. Is it a problem if the SPN HOST/MOSSserver and
HOST/MOSSserver.dom.de is set for the machine account MOSSserver because
HTTP is part of HOST?
The user SPadmin is the user of the service (application pool for that
sharepoint application)-.
now I'll activate kerberos logging and I'll see more I hope.
I read your blog, it's very helpfull.
Thanks
Tobia
Re: IIS 6 und Kerberos Ken Schaefer
2/6/2008 12:14:12 PM
Well, then it looks like Kerberos authN is failing. But you still haven't
provided all the necessary details to check things.

Did you read my blog posts? The problem could be duplicate SPNs, or it could
be that the user account that the service ticket is being generated for is
not the user account you are using to host your service etc.

What you can do is enable Kerberos logging on each box in question
(http://support.microsoft.com/?id=262177). Then you will get some kind of
error in your event logs. If you are getting KRB_AP_ERR_MODIFIED then it's
probably a principal mismatch.

Cheers
Ken

[quoted text, click to view]
Re: IIS 6 und Kerberos Tobia
2/11/2008 11:44:23 AM
Hi,
I'm back after a few free days.
My kerberos authentication works. I had deleted the SPNs HOST/MOSSserver and
HOST/MOSSserver.dom.de for the machine account MOSSserver.
I had understand that first is checked a explicit SPN für a special service
in use. If no such SPN than the HOST is used.
Like the facts say this understanding was wrong .
Thanks for Your help!
Cheers
Tobia

AddThis Social Bookmark Button