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?

Thanks

link|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) – Web Design Hero Feb 16 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 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. – Web Design Hero Feb 16 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 at 23:37
feedback

1 Answer

up vote 0 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

[global]
    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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.