Re: IIS 6 from a Samba share

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 09/20/05

  • Next message: Coen: "Re: IIS 6 from a Samba share"
    Date: Tue, 20 Sep 2005 02:51:33 -0700
    
    

    Your error message is just the standard "friendly error message" that is not
    useful for debugging.

    Can you either configure IE to not show "friendly HTTP error messages" or
    lo500ok up the logfile for the website for the correspond ing entry (should
    be in %systemroot%\System32\LogFiles\W3SVC#\*.log).

    Diagnosing IIS issues is best done through its various log files and event
    log entries because it is a security risk to disclose errors to the browser
    client -- so using the browser to debug is intentionally not useful.

    You may want to browse my blog entries to get a basic understanding of IIS,
    in particular how IIS authenticates and determines the user identity used to
    execute requests -- because they are directly involved with this situation.

    If samba is all set up correctly, IIS should treat it like any other UNC
    share on a Windows machine and just automatically work. See the following
    URL on how to set it up correctly:
    http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/webapp/iis/remstorg.mspx

    -- 
    //David
    IIS
    http://blogs.msdn.com/David.Wang
    This posting is provided "AS IS" with no warranties, and confers no rights.
    //
    "Coen" <Coen@discussions.microsoft.com> wrote in message
    news:D083AD7D-F3D9-4657-AA0C-E733FBFEBE48@microsoft.com...
    Thank you for your fast reply!
    I can log on from that IIS machine to the  samba server using the account
    info. Can make mappings, delete and add files, just like a regular share.
    Problem starts when I use the UNC in IIS. It just refuses to work... no
    error
    messages are given, nothing in IIS logs, nothing in samba logs, nothing in
    the event viewer, just the 500 I get in my browser.
    The page cannot be displayed
    There is a problem with the page you are looking for, and it cannot be
    displayed.
    Please try the following:
        * Contact the Web site administrator to inform them that this error has
    occured for this URL address.
    HTTP Error 500 - Internal server error.
    Internet Information Services (IIS)
    Technical Information (for support personnel)
        * Go to Microsoft Product Support Services and perform a title search
    for the words HTTP and 500.
        * Open IIS Help, which is accessible in IIS Manager (inetmgr), and
    search for topics titled Web Site Administration, and About Custom Error
    Messages.
        * In the IIS Software Development Kit (SDK) or at the MSDN Online
    Library, search for topics titled Debugging ASP Scripts, Debugging
    Components, and Debugging ISAPI Extensions and Filters.
    "David Wang [Msft]" wrote:
    > You want to report the exact 500 error entry in the web log for the
    > website -- in particular the Win32 error code.
    >
    > You also need to look at the issue from an SMB perspective. IIS is not
    doing
    > anything special.
    >
    > Have you verified from the Windows machine that you can access the SMB
    using
    > a specified username/password.
    >
    > If so, you should be able to have IIS login as that username/password to
    > access the SMB share (this is an option as soon as you select the UNC
    share
    > as directory root). If you want Pass-thru authentication to work, you may
    > need to configure more users on the SAMBA end.
    >
    > In short, there's nothing "special" that IIS is using nor expecting. It is
    > all standard NT stuff when it comes to UNC.
    >
    > -- 
    > //David
    > IIS
    > http://blogs.msdn.com/David.Wang
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    > //
    > "Coen" <Coen@discussions.microsoft.com> wrote in message
    > news:A8A748BC-C734-4714-9EFA-A5AF8010D20F@microsoft.com...
    > Hello,
    >
    > I am working at a company who until recently only did Linux based
    > webhosting. Due to increasing demand we decided to start using W2K3 to
    serve
    > ASP websites.
    >
    > Problem now is that I want to use the existing infrastructure with W2K3.
    > There is a very large linux cluster which is already functioning as NAS
    for
    > Apache servers and I'd like IIS to connect to that. So I installed Samba
    and
    > created a user to connect to it and a share and I could browse the
    directory
    > without problems. It just goes wrong when I install the remote dir in IIS.
    > Whatever I do, it always pops up with an error 500. Passwords are correct,
    I
    > know it's not all that, it just seems that IIS is expecting a different
    kind
    > of authentication too?
    >
    > Please help?
    >
    >
    >
    

  • Next message: Coen: "Re: IIS 6 from a Samba share"

    Relevant Pages

    • Re: Fao Ken Kolda
      ... This is the remote obj that is in an empty web project ... enable custom error messages, "Off" to disable. ... access must be disabled in IIS. ... which requests belong to a particular session. ...
      (microsoft.public.dotnet.framework.remoting)
    • Re: Mobile data replication/synchronization
      ... There are a variety of reasons that you can receive this message, so if you can get any of the inner error messages or error codes it would greatly help. ... You also noted that you are using the device emulator; have you verified network connectivity with the emulator? ... what versions of IIS and SQL Server/SQL CE are you using? ... Amit set me straight on the Mobile directory for the ...
      (microsoft.public.pocketpc.developer)
    • Re: ASP.NET applications not running on Win2K laptop
      ... "Friendly Http Error Messages". ... pages in my inetpub/wwwroot/but no aspx files. ... Reinstalled IIS ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: IIS 5.0 fails to start on Win XP SPI
      ... check in the event logs to see if there are any error messages ... logged there related to IIS... ... Jeffrey Randow (Windows Net. ... Trying to reboot the server gave me the ...
      (microsoft.public.windowsxp.network_web)
    • Re: IIS 6 from a Samba share
      ... It looks like you either configured IIS to use an invalid user credential to ... access the UNC share, or your UNC share is not configured to give access to ... These are the only error messages I can find in IIS ... > If samba is all set up correctly, IIS should treat it like any other UNC ...
      (microsoft.public.inetserver.iis.security)

    Loading