Re: Can't access Active Directory from IIS6/2003 member server

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 08/10/04


Date: Tue, 10 Aug 2004 14:48:07 -0700

No, Kerberos should be enabled by default for IIS6 joined to a domain.

Default value for W3SVC/NTAuthenticationProviders is "not set", which means
the defaul value of "Negotiate,NTLM" is used.

The configuration values means that for non-domain machines, Negotiate falls
back to NTLM, while for domain machines, Kerberos is first tried, and then
NTLM.

If you are in a domain and Kerberos is not used, then you probably had
something else change your IIS6 configuration.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"SerialHobbyist" <nospam@nospam> wrote in message
news:42a78$4118758b$5397c884$12940@nf2.news-service-com...
Solved it!  It was related to authentication.  I've documented my
solution here:
http://www.garratt.e7even.com/garratt/html/using_server_2003_and_iis6_to_.html
and I'll keep that page up to date with developments in case its of use
to anyone else.
In short, it was a Kerberos issue.  Apparently, Kerberos is not enabled
by default on IIS I used this command to enable it:
cscript C:\Inetpub\AdminScripts\adsutil.vbs set
w3svc/NTAuthenticationProviders "Negotiate"
then I reset IIS and all was well.
Regards
SH
David Wang [Msft] wrote:
> What user identity (and with what authentication protocol) are you using
to
> access the ASP page?
>
> The issue sounds like one of permissions, unrelated to IIS.  For example,
> when you ran the VBScript on the member server, you do it as your own
logged
> in identity, which likely have permissions to the AD.  However, when you
run
> it in the ASP page, it is done via some other identity, logged on with a
> different login.
>
>
> Turn off Anonymous, turn on Basic authentication, and see if it works -- 
> Basic login is close to your usual user login via the console, but its
login
> type is not "Interactive"... so if the API you call requires
"interactive",
> it'll never work from an identity obtained through IIS.  This was a
security
> decision made in IIS6 and Windows Server 2003 that is not configurable.
>


Relevant Pages

  • kerberos the story so far
    ... I am trying to connect to a SQL server throu IIS using impersonation. ... monitoring the IIS connection with the default login, ... If you force a kerberos windows login the IIS seems to use kerberos ...
    (microsoft.public.win2000.active_directory)
  • kerberos the story so far
    ... I am trying to connect to a SQL server throu IIS using impersonation. ... monitoring the IIS connection with the default login, ... If you force a kerberos windows login the IIS seems to use kerberos ...
    (microsoft.public.vstudio.general)
  • kerberos the story so far
    ... I am trying to connect to a SQL server throu IIS using impersonation. ... monitoring the IIS connection with the default login, ... If you force a kerberos windows login the IIS seems to use kerberos ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • kerberos the story so far
    ... I am trying to connect to a SQL server throu IIS using impersonation. ... monitoring the IIS connection with the default login, ... If you force a kerberos windows login the IIS seems to use kerberos ...
    (microsoft.public.vstudio.development)
  • Re: Problem mit integrierter Sicherheit
    ... Web und SQL-Server sind getrennt und am IIS verwende ich die integrierte ... Wie kann ich in diesem Szenario (IIS6) ... > Kerberos. ...
    (microsoft.public.de.german.entwickler.dotnet.asp)