Re: Security Delegation between IIS and SQL Server
From: x y, mvp (levinson_k@despammed.com)
Date: 02/24/03
- Next message: x y, mvp: "Re: Port Chart"
- Previous message: Ronald van den Haak: "problem with win2k server and xpclients..."
- 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: "x y, mvp" <levinson_k@despammed.com> Date: Mon, 24 Feb 2003 08:27:18 -0500
Try enabling auditing on both servers?
http://securityadmin.info/faq.htm#auditing
It could be that IIS is actually trying to connect to SQL using named pipes
or multi-protocol, despite how you think you've set it up. If this is the
case, then a successful Windows netbios login ID and connection must be
permitted from IIS to SQL before IIS can even attempt to log in using the
SQL account. Auditing might show you what's happening here.
"Hannes Mayer" <hmayer@mis.at> wrote in message
news:eJoUoO92CHA.1156@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> following Problem
>
> 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?
>
> TANKs for help
> Hannes
>
>
- Next message: x y, mvp: "Re: Port Chart"
- Previous message: Ronald van den Haak: "problem with win2k server and xpclients..."
- 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
|