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

My home setup has a Linux server which serves several shares, each with a different user & password.

I.e.: public, user1, user2

I can connect to my shares individually via \\server\public with the user & password.

However, once I entered credentials for one of the shares, it seems I can't access any of the other shares on the same machine.

Is there a way around this?

share|improve this question
Is there a particular reason you don't want to create an additional user that has access to multiple shares? Also, are you mounting through explorer or using command line (e.g., net use) – Eric G Feb 16 '12 at 5:01
There is a specific reason. One share is public for all of the house guests (e.g. public), and others are private (user specific). Explorer uses the same windows resources as net use so there won't be any difference there. (And I tested to make sure of that) – Am. Feb 16 '12 at 9:12
So, it should be mapped for each logged in user, its not that you want to map them all with the same windows account? If its one account to many shares, then you should be able to add additional permissions in your samba configuration. – Eric G Feb 16 '12 at 14:43
My samba config has several users for different shares. That one works fine when i login each time with a different user from my client pc. but once i logged in, I cant log to another share with different credentials. – Am. Feb 16 '12 at 23:37
up vote 3 down vote accepted

Following the answers here Samba+Windows: Allow multiple connections by different users?, I figured there is no solution from the windows client.

So I added several aliases to my linux server: /etc/samba/smb.conf

    unix extensions = no
    netbios aliases = ALIAS1 ALIAS2 ALIAS3
    wide links = yes
    workgroup = WORKGROUP
    os level = 20
    follow symlinks = yes
    wins support = true

then I connected to each alias with a differenet user & password.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .