Kerberos timout with IIS6, ASP.Net and SQLServer
- From: roarfred@xxxxxxxxx
- Date: 17 May 2006 13:34:15 -0700
I've been struggling with a problem for the last two months that are
almost driving me nuts...
We have a traditional ASP.Net 1.1 web site accessing a SQL2000 database
using delegation and a trusted connection. I have seen many posts
regarding this setup, and we had quite some trouble getting it all
working ourself. User could finally access the web server and pull data
from the database, fully authenticated through Kerberos and Integrated
Windows Authentication.
The problem is:
- After a user have been inactive for anything from a few minutes to
half an hour, the connection with the database is broken and it
responds with the well known login failed for user (null) error.
Some more facts:
- The connection with the web server works fine, and as long as the
exception is trapped in the code, all pages are displayed (as intended
when a db connection is unavailable, that is)
- I got a feeling that the Kerberos ticket is expireing and the web
server doesn't bother asking the client for a new one.
- We do have trust for delegation set up in the AD for the web server
to access any resource
- We do have a HTTP/fqdm SPN set up in AD
Questions:
- Any suggestions to what this might be caused by?
- Would we need a SPN for the DB server too? (This is just accessed
through the netbios name)
- Do you know of any Kerberos-related settings that would make the
initial authetication work, but connections to fail at a later point?
One more thing... The very same problem was posted unanswered here in
several newsgroups about a year ago:
http://groups.google.com/group/microsoft.public.adsi.general/browse_thread/thread/d53ecbeaa94af2d3/133e72c9029b8b32?lnk=st&q=kerberos+timeout+iis6&rnum=4#133e72c9029b8b32
This posting describes a bit more what have been tried and not. I have
done very much the same approach, with no more luck than that guy.
(I have not found any other postings that I can tell are describing the
same problem as my)
Any help on this matter is most appreciated.
Regards,
Roar Fredriksen
Systems Engineer
Omega Project Solutions Inc
.
- Follow-Ups:
- Re: Kerberos timout with IIS6, ASP.Net and SQLServer
- From: Ken Schaefer
- Re: Kerberos timout with IIS6, ASP.Net and SQLServer
- Prev by Date: Dumb basic authentication and SSL question
- Next by Date: Re: Dumb basic authentication and SSL question
- Previous by thread: Dumb basic authentication and SSL question
- Next by thread: Re: Kerberos timout with IIS6, ASP.Net and SQLServer
- Index(es):
Relevant Pages
|