Re: SPS wont use kerberos

From: Al Blake (al_at_blakes.net)
Date: 05/31/04


Date: Mon, 31 May 2004 18:12:07 +1000

Dont worry about it ;)
I am reposting the information from wfetch: if it ends up here twice then so
be it.
Havent checked the webserver log yet as this is a *production* server - so
there are certain hours I can mess around with it. I'll try to trace that
part of it later tonight. (what am I particularly looing for in the IIS
logs?)
Al.

===wfectch stuff=====
Sharepoint application is running as CGGS\Sharepoint. This user is trusted
for delegation.
User and FQDN (portal.cggs.act.edu.au) have been added as SPN on server
ATHENA:

C:\Program Files\Resource Kit>setspn -L athena
Registered ServicePrincipalNames for CN=ATHENA,OU=Permit Student
Access,OU=CGGS Member Servers,OU=Machines,DC=cggs,DC=act,DC=edu,DC=au:
    HTTP/cggs.act.edu.au/Sharepoint
    HTTP/CGGS\Sharepoint
    HOST/portal.cggs.act.edu.au
    HOST/portal
    HTTP/portal.cggs.act.edu.au
    HTTP/portal
    HOST/intranet
    HTTP/intranet
    HTTP/intranet.cggs.act.edu.au
    SMTPSVC/athena.cggs.act.edu.au
    SMTPSVC/ATHENA
    HOST/ATHENA
    HOST/athena.cggs.act.edu.au

When I use wfetch to watch the conversation between the server and the
browser I see that the browser asks for Negotiate:
WWWConnect::Connect("portal.cggs.act.edu.au","80")\nIP =
"192.168.31.9:80"\nsource port: 4372\r\n
ISC_REQ_MUTUAL_AUTH | ISC_REQ_DELEGATE set\nSEC_I_CONTINUE_NEEDED\nREQUEST:
**************\nGET /default.aspx HTTP/1.1\r\n
Host: portal.cggs.act.edu.au\r\n
Accept: */*\r\n
Connection: Keep-Alive\r\n
Authorization: Negotiate YIINSwYGKw
etc etc etc

Host responds with Negotiate:
HTTP/1.1 401 Unauthorized\r\n
Content-Length: 1539\r\n
Content-Type: text/html\r\n
Server: Microsoft-IIS/6.0\r\n
WWW-Authenticate: Negotiate etc etc
\r\n
X-Powered-By: ASP.NET\r\n
MicrosoftSharePointTeamServices: 6.0.2.5530\r\n
Date: Mon, 31 May 2004 05:45:19 GMT\r\n
\r\n

then host sends back the 'not authorised page'
SEC_I_CONTINUE_NEEDED\n<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">\r\n
<HTML><HEAD><TITLE>You are not authorized to view this page</TITLE>\r\n
<META HTTP-EQUIV="Content-Type" Content="text/html;
charset=Windows-1252">\r\n
<STYLE type="text/css">\r\n
  BODY { font: 8pt/12pt verdana }\r\n
etc

Client tries again:
REQUEST: **************\nGET /default.aspx HTTP/1.1\r\n
Host: portal.cggs.act.edu.au\r\n
Accept: */*\r\n
Connection: Keep-Alive\r\n
Authorization: Negotiate etc etc

Host replies with an Unable to InitializeSecurityContext.
RESPONSE: **************\nHTTP/1.1 401 Unauthorized\r\n
Content-Length: 1539\r\n
Content-Type: text/html\r\n
Server: Microsoft-IIS/6.0\r\n
WWW-Authenticate: Negotiate etc etc
X-Powered-By: ASP.NET\r\n
MicrosoftSharePointTeamServices: 6.0.2.5530\r\n
Date: Mon, 31 May 2004 05:45:19 GMT\r\n
\r\n
0x80090322 Unable to InitializeSecurityContext <<<<<<====== here's where it
fails

So any ideas why this is failing given that I have added everything I can
think of as an SPN (!), I have given both the machine account AND the
apppool account delegate permission in AD *and* kerberos is working for 4
other IIS webs on the same server - it is only not working for the SPS
site... :(

Regards
Al Blake, Canberra, Australia



Relevant Pages

  • Re: SPS wont use kerberos
    ... Havent checked the webserver log yet as this is a *production* server - so ... Authorization: Negotiate YIINSwYGKw ... Host responds with Negotiate: ...
    (microsoft.public.sharepoint.portalserver)
  • gdm hangs
    ... gdm will hang 9 of 10 times when logging out. ... with or without the client having been connected to the Server. ... # Timed login, useful for kiosks. ... Must output the chosen host on stdout, ...
    (Debian-User)
  • problem with sendmail in solaris 9
    ... names that should be exposed as from this host, ... # save Unix-style "From_" lines at top of header? ... # work recipient factor ... # SMTP STARTTLS server options ...
    (SunManagers)
  • Re: Add new cluster and use existing LUNs?
    ... Storport driver and Powerpath on all of our SAN host servers so we are trying ... In the end I think that I may play it cautious and create a new RAID group, ... > varied activity (DBMSes, Messaging Server, File Server, Web Servers, ... Some of the physical spindle limitations can be addressed through the SAN ...
    (microsoft.public.sqlserver.clustering)
  • Log corruption on multiple webservers, log analyzers,...
    ... Related RFC´s about Internet Host Names convention: ... To succesfully attack a server with “ILLC” technique is mandatory that web ... a machine with a host name as "123.123.123.123" makes a request ... wouldn't appear in the access log file. ...
    (Bugtraq)