Showing posts with label iis. Show all posts
Showing posts with label iis. Show all posts

Thursday, March 22, 2012

Delegation Failure

I have a domain with SBS2003 server running IIS on one machine and Windows
Server 2003 running SQL 2000 on another. IIS uses integrated authentication
only, and delegation between IIS and SQL was working as advertised (all the
right checkboxes in Active Dir we set correctly, SQL used the authenticated
client, etc).
We recently added the server with SQL as a Domain Controller so it could be
used as a backup. Once it came on line, delegation stopped working, and IIS
attempts to log in to SQL as the 'NT AUTHORITY\ANONYMOUS LOGON' user, which,
of course, fails.
I am going to remove the DC off of the SQL server, but I though someone
might know why having the second DC on the SQL server kills delegation.
Thanks,
PaulI can tell you that SQL running on a DC is not recommended nor is it
tested with SQL 2000.
The best way to determine what is wrong is to make network traces from the
client machine, and use Kerbtray on the client to verify that it is in fact
getting Kerberos ticket for IIS.
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||Kevin,
Thanks for your reply. I will look into Kerbtray.
Re: SQL2000 on a DC not supported, isn't that what SBS2003 Premium is?
-Paul
"Kevin McDonnell [MSFT]" <kevmc@.online.microsoft.com> wrote in message
news:sT8Angd5DHA.4028@.cpmsftngxa07.phx.gbl...
quote:

> I can tell you that SQL running on a DC is not recommended nor is it
> tested with SQL 2000.
> The best way to determine what is wrong is to make network traces from the
> client machine, and use Kerbtray on the client to verify that it is in

fact
quote:

> getting Kerberos ticket for IIS.
> Thanks,
> Kevin McDonnell
> Microsoft Corporation
> This posting is provided AS IS with no warranties, and confers no rights.
>
>
|||What service account is SQL using? NetworkService or LocalSystem? Note that
when it was living on a member server, those accounts were mapped to the
computer account, and this account was used when SQL was accessing network
resources. Now, when SQL lives on the DC, so called "loopback
authentication" is taking place, and SQL comes to DC authenticated as
NetworkServer or LocalSystem, respectively.
Generally speaking, running two important services on one machine is unsafe.
If one is compromised, the other one will fall too. We do not recommend
running anything on a DC.
Dmitri Gavrilov
SDE, Active Directory Core
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Paul L" <nospam@.loring.net> wrote in message
news:u5x2oRc5DHA.2392@.TK2MSFTNGP11.phx.gbl...
quote:

> I have a domain with SBS2003 server running IIS on one machine and Windows
> Server 2003 running SQL 2000 on another. IIS uses integrated

authentication
quote:

> only, and delegation between IIS and SQL was working as advertised (all

the
quote:

> right checkboxes in Active Dir we set correctly, SQL used the

authenticated
quote:

> client, etc).
> We recently added the server with SQL as a Domain Controller so it could

be
quote:

> used as a backup. Once it came on line, delegation stopped working, and

IIS
quote:

> attempts to log in to SQL as the 'NT AUTHORITY\ANONYMOUS LOGON' user,

which,
quote:

> of course, fails.
> I am going to remove the DC off of the SQL server, but I though someone
> might know why having the second DC on the SQL server kills delegation.
> Thanks,
> Paul
>
>
|||Let's be careful here ;-).
This is kind of an SBS question, it was wrongly cross posted to a whole
bunch of newsgroups and the discussion might not necessarily accurately
reflect an SBS scenario. Such as the following:
quote:

> Generally speaking, running two important services on one machine is

unsafe.
quote:

> If one is compromised, the other one will fall too. We do not recommend
> running anything on a DC.

Les Connor [SBS MVP]
--
SBS Rocks !
"Dmitri Gavrilov [MSFT]" <dmitrig@.online.microsoft.com> wrote in message
news:eSmSyWe5DHA.2556@.TK2MSFTNGP09.phx.gbl...
quote:

> What service account is SQL using? NetworkService or LocalSystem? Note

that
quote:

> when it was living on a member server, those accounts were mapped to the
> computer account, and this account was used when SQL was accessing network
> resources. Now, when SQL lives on the DC, so called "loopback
> authentication" is taking place, and SQL comes to DC authenticated as
> NetworkServer or LocalSystem, respectively.
> Generally speaking, running two important services on one machine is

unsafe.
quote:

> If one is compromised, the other one will fall too. We do not recommend
> running anything on a DC.
> --
> Dmitri Gavrilov
> SDE, Active Directory Core
> This posting is provided "AS IS" with no warranties, and confers no

rights.
quote:

> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> "Paul L" <nospam@.loring.net> wrote in message
> news:u5x2oRc5DHA.2392@.TK2MSFTNGP11.phx.gbl...
Windows[QUOTE]
> authentication
> the
> authenticated
> be
> IIS
> which,
>
|||Les,
It was "wrongly" posted to the 3 (whole bunch?) newsgroups for the systems
involved. I have a problem that could be in any of the 3 places, SBS, SQL
or AD.
Furthermore, I have no idea what you are trying to say in your reply.
-Paul
"Les Connor [SBS MVP]" <les.connor@.DEL.cfive.ca> wrote in message
news:ekZiRmf5DHA.2720@.TK2MSFTNGP09.phx.gbl...
quote:

> Let's be careful here ;-).
> This is kind of an SBS question, it was wrongly cross posted to a whole
> bunch of newsgroups and the discussion might not necessarily accurately
> reflect an SBS scenario. Such as the following:
>
> unsafe.
> --
> Les Connor [SBS MVP]
> --
> SBS Rocks !
>
> "Dmitri Gavrilov [MSFT]" <dmitrig@.online.microsoft.com> wrote in message
> news:eSmSyWe5DHA.2556@.TK2MSFTNGP09.phx.gbl...
> that
network[QUOTE]
> unsafe.
> rights.
> Windows
(all[QUOTE]
could[QUOTE]
and[QUOTE]
someone[QUOTE]
delegation.[QUOTE]
>
|||Hi Paul,
Yes. The Premium version of SBS contains SQL 2000.
My reply was based upon your statement:
"We recently added the server with SQL as a Domain Controller so it could be
used as a backup"
Based upon this statement, my response is that I would not recommend SQL
2000 on a DC.
My recommendation as far as troubleshooting is the same.
The best way to determine what is wrong is to make network traces from the
client machine, and use Kerbtray from the Windows 2000 Resource kit on the
client to verify that it is in fact
getting Kerberos ticket for IIS.
To download the Kerbtray utility, visit the
following Microsoft Web site:
http://www.microsoft.com/windows200...isting/kerbtray
-o.asp
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.

Delegation And Windows 2003

I have the following scenario:
Machine 1: IIS Server - running Reporting Services
Machine 2: SQL Server - stores all data that a report will use
These servers run in a Windows 2000 Active Directory domain.
The IIS web site has the directory security set to Windows authentication
and Anonymouse authentication unchecked.
The reports use a shared data source that has the Windows authentication
checkbox checked.
The IIS Server has the delegation checkbox checked in Active Directories and
Users.
Run the report from a browser and get the login failed for the anonymous
user. Run the report from the IIS Server and it works. This is a sure
indication of a delegation issue.
What am I missing?Hi,
From your descriptions, I understood that running the report from a browser
and get the login failed for the anonymous user. Run the report from the
IIS Server and it works. Have I understood you? Correct me if I was wrong.
Based on my socpe, it seems to be a Kerberos issue and the simplest
workaround is changing the shared data source to use SQL authentication to
the SQL Server.
To set up delegation on a computer, the following conditions must be met:
* The account doing the delegation must be set to Trusted for delegation to
any service or Trusted for delegation to specified services only.
* The account that the service is delegating for must not have the Account
is sensitive and cannot be delegated option chosen.
* An administrator must have the Enable computer and user accounts to be
trusted for delegation privilege on the computer in order to enable
delegation.
See the following knowledge base article for more detailed information
Basic Overview of Kerberos User Authentication Protocol in Windows 2000
http://support.microsoft.com/kb/217098
Thank you for your patience and corporation. If you have any questions or
concerns, don't hesitate to let me know. We are always here to be of
assistance!
Sincerely yours,
Michael Cheng
Online Partner Support Specialist
Partner Support Group
Microsoft Global Technical Support Center
---
Get Secure! - http://www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!sql

Saturday, February 25, 2012

Default Web Site - HELP!

I'm trying to install where a "Default Web Site" may have been deleted on
IIS... I install and get no errors... When I open IIS and check there's no
trace of report services...
IF, and I say IF, if the DWS had been deleted, is there a way to get things
working again on this server? I've tried the obvious, adding "Default Web
Site" against the default application pool..
I look forward to everyone's response!
Thanks
TravisI have found resolution if your using IIS 6.0
http://www.advernets.com/techshare/article20042707.htm
"REM7600" wrote:
> I'm trying to install where a "Default Web Site" may have been deleted on
> IIS... I install and get no errors... When I open IIS and check there's no
> trace of report services...
> IF, and I say IF, if the DWS had been deleted, is there a way to get things
> working again on this server? I've tried the obvious, adding "Default Web
> Site" against the default application pool..
> I look forward to everyone's response!
> Thanks
> Travis
>
>|||If your using IIS 6.0 I found the solution:
http://www.advernets.com/techshare/article20042707.htm
"REM7600" wrote:
> I'm trying to install where a "Default Web Site" may have been deleted on
> IIS... I install and get no errors... When I open IIS and check there's no
> trace of report services...
> IF, and I say IF, if the DWS had been deleted, is there a way to get things
> working again on this server? I've tried the obvious, adding "Default Web
> Site" against the default application pool..
> I look forward to everyone's response!
> Thanks
> Travis
>
>