Dear friends, I have two Linux servers "Linux1" and Linux2" I like to mount a folder of Linux2 on Linux1 Whenever I try to mount the folder with #mount -t smbfs //Linux2/myshare /otherpc #password I give the root password and also tried other users password It gives following error: 8450: session setup failed : ERRSRV - ERRbadpw (Bad Password - name/ password pair in a Tree Connect or Session Setup are invalid) Smb.conf of Linux2 is as follows: # Global Parameters workgroup = SYSTEMS netbios name = Linux2 server string = Linux2 encrypt passwords = yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No # guest account = ftp printing = lprng #============================ Share Definitions =============================[homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No [tmp] comment = Temporary file space path = /tmp read only = no public = yes [packages] path = /packages read only = no browseable = yes [var] path = /var browsable = yes write list = usr1, usr2, usr3 [myshare] path = /myshare read only = no browseable = yes guest account = ftp guest ok = yes
On 07 Mar 2003 13:00:29 +0530 arun <arun@banas.guj.nic.in> wrote:> Dear friends, > > I have two Linux servers "Linux1" and Linux2" > > I like to mount a folder of Linux2 on Linux1 > > Whenever I try to mount the folder with > #mount -t smbfs //Linux2/myshare /otherpc > #password > > I give the root password and also tried other users password > > It gives following error: > 8450: session setup failed : ERRSRV - ERRbadpw > (Bad Password - name/ password pair in a Tree Connect or Session Setup > are invalid) > > > Smb.conf of Linux2 is as follows:you need to be supplying the samba password for root for the machine //linux2, not the root accounts password on //linux1 or //linux2. If you've never added root to the smbpasswd file on //linux2, you'll need to. You also might want to look at nfs for this instead. It's generally a better tool for unix to unix file mounting situations than samba. That being said I'm somewhat lazy and tend to mount shares from a freebsd samba server on my linux box, rather than learn how to set up nfs... mark
If you have 2 linux machines and want to mount a filesystem from one to the other, why not use NFS. I see no reason for two linux machines to act as Micro*&^%^. Mike On Thu, 2003-03-06 at 23:30, arun wrote:> Dear friends, > > I have two Linux servers "Linux1" and Linux2" > > I like to mount a folder of Linux2 on Linux1 > > Whenever I try to mount the folder with > #mount -t smbfs //Linux2/myshare /otherpc > #password > > I give the root password and also tried other users password > > It gives following error: > 8450: session setup failed : ERRSRV - ERRbadpw > (Bad Password - name/ password pair in a Tree Connect or Session Setup > are invalid) > > > Smb.conf of Linux2 is as follows: > > > # Global Parameters > workgroup = SYSTEMS > netbios name = Linux2 > server string = Linux2 > encrypt passwords = yes > log file = /var/log/samba/%m.log > max log size = 0 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > dns proxy = No > # guest account = ftp > printing = lprng > > #============================ Share Definitions > =============================> [homes] > comment = Home Directories > valid users = %S > read only = No > create mask = 0664 > directory mask = 0775 > browseable = No > > [tmp] > comment = Temporary file space > path = /tmp > read only = no > public = yes > > > [packages] > path = /packages > read only = no > browseable = yes > > [var] > path = /var > browsable = yes > write list = usr1, usr2, usr3 > > [myshare] > path = /myshare > read only = no > browseable = yes > guest account = ftp > guest ok = yes > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Apparently Analagous Threads
- Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....fixed gnuparted...but mount -t ocfs2 fails...
- Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....fixed gnuparted...but mount -t ocfs2 fails...
- Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....
- [LLVMdev] PowerPC 64 build bots...
- Validate Ids Multiple DC