[Samba] Accessing multiple shares from one single client

Herb Lewis hlewis at panasas.com
Thu Jan 27 17:43:58 GMT 2005


The only thing I know to do is access the shares with different server names.
Connect to one with the netbios name of the server and to the other with the
ip address of the server. This is a windows limitation to not allow multiple
connections from the same machine with different credentials (user).

Andy BIERLAIR wrote:
> Yes, the problem comes when using different shares that have different login
> credentials.
> 
> I have tried to mount the shares from a command prompt, and here is what I
> get when I try to mount a second share from that workstation:
> 
> "Multiple connections to a server or shared resource by the same user, using
> more than one user name, are not allowed."
> 
> When I unmount the first share, I still get this message when I try to mount
> an other one. This can be fixed while doing "net session /delete". 
> 
> Unfortunately this is not what I am looking for. I need to get multiple
> shares with different credentials mounted on one and the same windows xp
> workstation.
> 
> Any workaround?
> 
> Andy
> 
> -----Original Message-----
> From: Ganeshram Iyer [mailto:ganeshramiyer at gmail.com] 
> Sent: Thursday, January 27, 2005 05:13
> To: Andy BIERLAIR
> Subject: Re: [Samba] Accessing multiple shares from one single client
> 
> I am not an expert in samba but do the different shares have different
> usernames/passwords? I know if you supply one username/password combo
> to a remote computer (be it another windows computer) from one windows
> computer then windows stores that auth info. if you want to access the
> remote comp using a diff combo then you have to manually force windows
> to forget the first auth info. i think the command to do that was
> 
> net use /d
> 
> see if you can pull up the help up on that command. and if i am
> mistaken in understanding the question i apologize in advance.
> 
> ganesh
> 
> 
> On Thu, 27 Jan 2005 00:48:43 +0100, Andy BIERLAIR <andy at root.lu> wrote:
> 
>>I am facing the current problem:
>>
>>I have one WinXP SP2 Clients trying to access multiple shares on the same
>>smb server. When booting up Windows I can login to one share, but not to
> 
> the
> 
>>other ones. Whichever of them I take first is working just fine. My
> 
> username
> 
>>or password (which is correct!) is being rejected. Is this a Windows issue
>>or do I need to adjust a parameter in smb.conf?
>>
>>Current smb.conf:
>>
>>[global]
>>panic action = /usr/share/samba/panic-action %d
>>workgroup = ROOT
>>server string = bla
>>invalid users = root
>>log file = /var/log/samba/log.%m
>>max log size = 1000
>>syslog = 0
>>security = user
>>encrypt passwords = true
>>passdb backend = smbpasswd guest
>>socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>>obey pam restrictions = yes
>>interfaces = 195.24.72.10
>>bind interfaces only = yes
>>
>>[IPC$]
>>hosts deny = 0.0.0.0/0
>>
>>[web1]
>>comment = [web1] - Home Directory
>>path = /home/www/web1
>>read only = No
>>valid users = web1
>>force user = web1
>>force group = ftp
>>browseable = no
>>printable = no
>>create mask = 660
>>directory mask = 770
>>force create mode = 660
>>force directory mode = 770
>>veto files = .x
>>
>>[web11]
>>comment = [web11] - Home Directory
>>path = /home/www/web11
>>read only = No
>>valid users = web11
>>force user = web11
>>force group = ftp
>>browseable = no
>>printable = no
>>create mask = 660
>>directory mask = 770
>>force create mode = 660
>>force directory mode = 770
>>veto files = .x
>>
>>Andy
>>
>>--
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  https://lists.samba.org/mailman/listinfo/samba
>>
> 
> 
> 



More information about the samba mailing list