I've got this configuration:
- Ubuntu 12.04 hosting a directory tree full of files to be served by a webserver
- 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.