Re: IIS 6 from a Samba share
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 09/20/05
- Previous message: Coen: "Re: IIS 6 from a Samba share"
- In reply to: Coen: "Re: IIS 6 from a Samba share"
- Next in thread: Coen: "Re: IIS 6 from a Samba share"
- Reply: Coen: "Re: IIS 6 from a Samba share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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? > > >
- Previous message: Coen: "Re: IIS 6 from a Samba share"
- In reply to: Coen: "Re: IIS 6 from a Samba share"
- Next in thread: Coen: "Re: IIS 6 from a Samba share"
- Reply: Coen: "Re: IIS 6 from a Samba share"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|