Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got this configuration:

  1. Ubuntu 12.04 hosting a directory tree full of files to be served by a webserver
  2. VirtualBox running WindowsXP Service Pack 3 with IIS

XP and Ubuntu are connected to one another via a host only virtual NIC. There's Samba installed and running on Ubuntu and exporting one share point; IIS on Windows configured to use that Samba share as the root directory of the website it's serving1.

It all works, except for one thing: I need to protect with basic authentication one of the directories within the website. If I run the site locally to Windows, authenticating with a windows user works flawlessly, if instead I run the site on the Samba share, the same user and the same password don't work. I even tried using my Ubuntu user login and password, but to no avail.

Does anybody know how to solve this issue, and where it stems from?


1 I couldn't use a vbox shared directory, it would just not work.

share|improve this question

You must log in to answer this question.

Browse other questions tagged .