Re: Security Delegation between IIS and SQL Server
From: Jeff Cochran (jcochran.nospam@naplesgov.com)
Date: 02/24/03
- Next message: nemo: "Re: password"
- Previous message: Jeff Cochran: "Re: Stolen"
- In reply to: Hannes Mayer: "Security Delegation between IIS and SQL Server"
- Next in thread: Hannes Mayer: "Re: Security Delegation between IIS and SQL Server"
- Reply: Hannes Mayer: "Re: Security Delegation between IIS and SQL Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: jcochran.nospam@naplesgov.com (Jeff Cochran) Date: Mon, 24 Feb 2003 14:18:17 GMT
>2 Domain Controller
>-DC1 is IIS with an ASP Web Application
>-DC2 is SQL Server with the Database for the ASP Application
>
>Now i need Windows NT Authentication for the WebPage and for the Database,
>but the ADO Connection doesn´t work for a simple domain user.
>
>So what i have done:
>- SQL Server uses only TCPIP:1433
>- SQL Server run under Domainuser XY
>- With SetSPN registered a Service Principal Name for the SQL Server on Port
>1433
>- Domain Controllers are Default "Trusted for Delegation"
>- Testuser - only member of Domain users - "Trusted for Delegation"
>activated
>- IIS Web App - only NT Auth.
>- Testuser is a user in the SQL DB and hast correct Rights
>- ADO Connection String is:
> >WITH objADOConn
> > .PROVIDER = "SQLOLEDB"
> > .COMMANDTIMEOUT = 30
> > .CONNECTIONTIMEOUT = 30
> > .CURSORLOCATION = ADODB.adUseServer
> > .PROPERTIES("INTEGRATED SECURITY") = "SSPI"
> > .PROPERTIES("DATA SOURCE") = "DC2"
> > .PROPERTIES("INITIAL CATALOG") = "MISAT"
> > .PROPERTIES("PROMPT") = ADODB.adPromptNever
> > .Properties("Application Name") = "MISAT_WEB"
> >End With
>
>
>Why does this not work - where else could be the problem - any suggestions?
Define "does not work" and we may beable to help. Error messages?
Can you run Query Analyzer? Does this work embedding a user/password
in the connection? Many issues are possible here...
Jeff
- Next message: nemo: "Re: password"
- Previous message: Jeff Cochran: "Re: Stolen"
- In reply to: Hannes Mayer: "Security Delegation between IIS and SQL Server"
- Next in thread: Hannes Mayer: "Re: Security Delegation between IIS and SQL Server"
- Reply: Hannes Mayer: "Re: Security Delegation between IIS and SQL Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|