[Samba] connecting two samba shares on one pc with windows xp

Philippe LeCavalier support at plecavalier.com
Thu Sep 23 07:04:38 MDT 2010

On Wed, 2010-09-22 at 08:23 -0400, Chris McDonald wrote:

> I am trying to mount two shares on Linux box using XP windows machine. 
> Both shares are valid and work independently, but I want both to be 
> connected simultaneously. I am able to connect A but in order to connect B 
> i have disconnect the A connection. Both shares seem to be set up properly 
> and working, just not at the same time.
> Thanks, Christopher

MS clients prior to Vista do not allow you to mount shares using
different credentials. The only way around it would be to create a
shortcut to access(not mount) the second share ie
user:pass at IPorNetBIOSName . 
 You could also mount the share from a higher root. That way windows
will prompt you for the uid/pass of the share you're trying to access.
Keep in mind once you've entered credentials Windows will not ask you
again and therfore, you will get an "access denied" when clicking the
other share.

***You might be able to trick Windows by accessing the shares using a
different name ie mount one with the IP and the other using the NetBIOS
name? I doubt this will work but it might be worth a try.*** 
Maybe someone could clarify why this wouldn't work...

Question, do you really need different credentials for shares within the
same server if you're accessing it from the same client?


More information about the samba mailing list