Re: IIS 6 from a Samba share

From: Coen (Coen_at_discussions.microsoft.com)
Date: 09/20/05


Date: Tue, 20 Sep 2005 03:23:04 -0700

These are the only error messages I can find in IIS

2005-09-20 10:16:42 W3SVC87257621 **IP removed** GET / - 80 - 217.115.203.44
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.10)+Gecko/20050716+Firefox/1.0.6 500 16 1326
2005-09-20 10:16:42 W3SVC87257621 **IP removed** GET /favicon.ico - 80 -
217.115.203.44
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.10)+Gecko/20050716+Firefox/1.0.6 500 16 1326
2005-09-20 10:16:42 W3SVC87257621 **IP removed** GET /favicon.ico - 80 -
217.115.203.44
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.10)+Gecko/20050716+Firefox/1.0.6 500 16 1326
2005-09-20 10:20:21 W3SVC87257621 **IP removed** GET / - 80 - 217.115.203.44
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
500 16 1326

"David Wang [Msft]" wrote:

> 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?
> >
> >
> >
>
>
>



Relevant Pages

  • Re: IIS 6 from a Samba share
    ... You may want to browse my blog entries to get a basic understanding of IIS, ... 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. ... 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. ... In the IIS Software Development Kit or at the MSDN Online Library, search for topics titled Debugging ASP Scripts, Debugging Components, and Debugging ISAPI Extensions and Filters. ...
    (microsoft.public.inetserver.iis.security)
  • RE: Debugging mode failure
    ... As for the VS 2003's debugging issue, is it occuring right after you ... installed the vs 2005 and is it always working correctly before you install ... application(host in IIS rather than filesystem based) through VS 2005? ... For ASP.NET application, there exists application extension ...
    (microsoft.public.dotnet.framework.aspnet)
  • Are you participating in the IIS Debugging Week?
    ... The IIS Webcast Series is going to deliver with a special week long ... presentation entitled - IIS Debugging Week. ... Last week at TechEd 2005 in Orlando, FL, the developer of Debug Diagnostics ...
    (microsoft.public.inetserver.iis.security)
  • Very complicated problem with ASP.NET debugging
    ... I've experienced some problems with DEBUGGING ... and the scanner recommended me to download Microssoft IIS ... When I installed IIS Lockdown, I received the same "UNABLE TO DEBUG..." ... couldn't register the dll's people would tell me to register. ...
    (microsoft.public.vsnet.debugging)
  • Re: Need help on debugging the code in .NET Web application.
    ... > I'm getting the following error while trying to debug the application. ... There are a couple of reasons why debugging fails: ... The IIS mappings are incorrect (very common when IIS installed after ... where Windows directory is normally either Windows or WINNT. ...
    (microsoft.public.dotnet.academic)