Re: access to network file server through web server denied



On Feb 18, 5:44 am, xcomplus <xcomp...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Here is the setup:
IIS 6 on Windows Server 2003
On IIS: Anonymous access unchecked. Integrated windows authentication checked.
Inside Web.config:
<authentication mode="Windows"/>
<identity impersonate="true"/>

In the code of the problem page, call WindowsIdentity.GetCurrent().Name
returns the domain user logged on that can access the network file server..
However, as soon as it calls Directory.GetDirectories(network_path), the
login dialog to the web server will popup. The login dialog can not recognize
correct credential and continue to popup for three times. After that, the
error message says "Access to path 'network_path' is denied.

You are describing a transitive authentication scenario which requires
delegation to be configured. More information on how to do this here:
http://support.microsoft.com/kb/810572

I'm not exactly sure what's driving the login dialog behavior and why
it's rejecting the credentials. If you can provide more information on
the desired behavior - i.e. do you want to have the delegated
authentication experience for your users, or do you want them to be
able to retype their creds (or different creds?) - then other
information might be out there to assist you in solving the problem.

HTH,
Dave
.



Relevant Pages

  • Re: WM5 can not sync to exchange
    ... I checked all the authentication settings and they are as you requested. ... After running the internet connection wizard I had to uncheck the Require ... On the SBS 2003 Server open the Server Management console. ... Open IIS Manager ...
    (microsoft.public.windows.server.sbs)
  • RE: WM5 can not sync to exchange
    ... code 85010014 during ActiveSync with SBS. ... On the SBS 2003 Server open the Server Management console. ... Please verify Authentication settings by the following steps. ... Open IIS Manager ...
    (microsoft.public.windows.server.sbs)
  • Re: WM5 can not sync to exchange
    ... On the SBS 2003 Server open the Server Management console. ... Please verify Authentication settings by the following steps. ... Open IIS Manager ... Collect the IIS metabase on Exchange Server and send to me: ...
    (microsoft.public.windows.server.sbs)
  • RE: Confusion on standard security methodologies.
    ... Application will talk to a back-end SQL ... By "back-end," I assume you mean on a different box from IIS? ... If SQL is on a separate box, you won't be able to use NT authentication ... impersonations (meaning that once passed to the IIS server, ...
    (microsoft.public.inetserver.iis.security)
  • Re: Nokia E50 ActiveSync problem with SBS2003 SP2
    ... Open IIS Manager ... Open properties of virtual directory OMA ... Click Start on your SBS server, ... And then please verify Authentication settings by the following steps. ...
    (microsoft.public.windows.server.sbs)