Re: Windows authentication query

From: Madhu Gopinathan (madhugops_at_rediffmail.com)
Date: 04/13/04


Date: Tue, 13 Apr 2004 13:55:22 +0530

Hi Ken,
    Yes, ideally setting the SPN should be fine, but it did not work.
Seemingly, IE checks the path for "." in the path, and decides that any
dotted path does not belong to the intranet, resulting in the error for
cases of Windows authentication (because, Windows authentication cannot span
over an intranet).
    This possibility was suggested from the link below

        http://www.netsys.com/fwtk/2000/11/msg00000.html

    Could that be the case? Because adding the FQDN and the IP address to
the intranet sites did solve the problem.

    WRT the trust problem, I faced the problem in both the cases, one-way as
well as two-way.

Thanks again,
Madhu

"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:#rNgrkSIEHA.940@tk2msftngp13.phx.gbl...
> Hi,
>
> Setting an SPN once should be enough in most cases. Why is it a "per
client"
> setting in your case? The Kerberos ticket must have an SPN, and when you
> install IIS, only the NetBIOS name of the IIS server is registered with
the
> KDC. The use of SetSPN allows you to register other service names (e.g. a
> FQDN) with the KDC (i.e. with your Domain Controllers). so you'd have to
do
> this once for each FQDN that IIS is using, and once for each FQDN of the
> remote service(s) that IIS has to access.
>
> Let me investigate WRT to question 2. Do you have a two-way trust? or just
a
> one-way trust? (I'm not whether that's relevant, but it's the only think I
> can think off OTOH)
>
> Cheers
> Ken
>
>
> "Madhu Gopinathan" <madhugops@rediffmail.com> wrote in message
> news:u%23ejacSIEHA.3848@tk2msftngp13.phx.gbl...
> : Hi Ken,
> : Thanks for your prompt reply. I investaigated the links you sent,
and
> it
> : started working when I started using the NetBIOS name of the IIS
machine.
> : Thanks a million!!
> :
> : However, I have a few further queries, and I hope you can solve them
> for
> : me.
> : 1. Just adding the SPNs using SetSPN was not enough for using IP address
> and
> : FQDNs in my machine path. I had to add the IP address and the FQDN of
the
> : IIS server in the list of sites that would be available in the intranet.
> : Since this is a per-client setting, this would be a cumbersome solution.
> Is
> : there any way for accesses to sites using IP address and FQDNs without
> : having to resort to a per-client setting? Maybe a GPO level setting or
> : something?
> :
> : 2. Delegation is succeeding only for users accounts residing in the same
> : domain as the IIS server. For users from trusted domains, the
> impersonation
> : level is Impersonate and not Delegate. I verified this by examining the
> : impersonation level of the thread token in the DLLHOST process. Is there
> : something still amiss in my settings somewhere? Is it not supposed to
> : delegate credentials from domains trusted by the domain that the IIS
> server
> : resides in?
> :
> : Thanks again,
> : Madhu
> :
> : "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
> : news:OlWOp#GIEHA.3536@TK2MSFTNGP09.phx.gbl...
> : > Hi,
> : >
> : > You need to configure both the computer and user accounts for
> delegation.
> : > Then you may need to use the SetSPN.exe tool to register the service
> : > principal name if you are accessing the site under anything other than
> the
> : > NetBIOS name of the machine. Try the following links:
> : >
> : > http://support.microsoft.com/default.aspx?scid=kb;en-us;810572
> : > HOW TO: Configure an ASP.NET Application for a Delegation Scenario
> : >
> : > http://support.microsoft.com/?id=294382
> : >
> : > Authentication May Fail with "401.3" Error If Web Site's "Host Header"
> : > Differs from Server's NetBIOS Name
> : >
> : > http://support.microsoft.com/default.aspx?kbid=325894
> : > HOW TO: Configure Computer Accounts and User Accounts So That They Are
> : > Trusted for Delegation in Windows Server 2003 Enterprise Edition (also
> : > includes Windows 2000 instructions)
> : >
> : >
> : > Cheers
> : > Ken
> : >
> : >
> : >
> : > "Madhu Gopinathan" <madhugops@rediffmail.com> wrote in message
> : > news:erhW21GIEHA.3848@tk2msftngp13.phx.gbl...
> : > Hi,
> : > I have a setup of IIS 5.0 on a Windows 2000 server. I have created
a
> : web
> : > site to run under Windows authentication. The default asp in this site
> : > accesses active directory objects. Now I want this setup to support
> : > delegation, so I have trusted the computer account of the IIS server
for
> : > delegation and made sure that the user being delegated is not a
> sensetive
> : > account. However, in my event viewer on my DC (which is not the IIS
> : server),
> : > I get logon/logoff events under ANONYMOUS LOGON context.
> : >
> : > What is wrong here? I have tried everything to get a delegation
> setup,
> : > however it just does not seem to succeed. I have also updated the
> : > EnableNegotiate key on the client browser machine, this also does not
> : help.
> : >
> : > Thanks,
> : > Madhu
> : >
> : >
> :
> :
>
>



Relevant Pages

  • Re: IIS to IIS using kerberos and non-standard web port
    ... As mentioned if you create a new SPN, but don't remove an old SPN that overlaps or is the same, then you get duplicate SPN issue and Kerberos fails. ... >>> web services on a separate IIS server. ... >>> "the Wininet.dll file does not pass the port number of the target>>> Web ...
    (microsoft.public.inetserver.iis.security)
  • Re: Delegation / IIS6 / share located on another computer
    ... Reread the link I posted earlier on SPNs for instructions on how to configure an additional SPN for your IIS server on that non-standard port. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Fixed but no idea why.
    ... Our topology is that the IIS SMTP server box is outside our firewall ... Do I not need to set the FQDN? ... itself as (EHLO/HELO hostname). ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: Windows authentication query
    ... Kerberos Authentication works find with FQDN. ... a client on the internet would not be able to connect to ... :> install IIS, only the NetBIOS name of the IIS server is registered with ...
    (microsoft.public.inetserver.iis.security)
  • Re: NT AuthorizationAnonyomous logon error
    ... SQL BI Product Unit ... What I am doing now is creating a CAB file coping to the IIS ... >>> I have a SQL box and a IIS server. ... >>> Server and have place several cube that I wish client to access via a ...
    (microsoft.public.sqlserver.olap)