Andy BIERLAIR
2005-Jan-26 23:49 UTC
[Samba] Accessing multiple shares from one single client
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
Andy BIERLAIR
2005-Jan-27 16:36 UTC
[Samba] Accessing multiple shares from one single client
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@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@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 tothe> other ones. Whichever of them I take first is working just fine. Myusername> 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 >-- Ganeshram Iyer 415 South Oak St #117 Arlington, TX, 76010 Ph (H) - 817-274-7827
John H Terpstra
2005-Jan-27 16:51 UTC
[Samba] Accessing multiple shares from one single client
Andy, Is this something you have been able to do with a Windows Server 2003 backend server? If so, how did you do this? - John T. On Thursday 27 January 2005 09:36, 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@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@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 > > -- > Ganeshram Iyer > 415 South Oak St #117 > Arlington, TX, 76010 > Ph (H) - 817-274-7827-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.
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@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@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 >> > > >
Apparently Analagous Threads
- Windows XP connects as guest instead of letting me choose the username / password
- Samba and Kerberos V
- Can't change password with Windows XP (Change passwordfeature)
- Server locking up everyday around 3:30 AM - (INFO: task wget:13608 blocked for more than 120 seconds) need sleep, help.
- DLM Problem?