[Samba] Two Linux PC

arun arun at banas.guj.nic.in
Fri Mar 7 07:30:29 GMT 2003

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

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
	comment = Home Directories
	valid users = %S
	read only = No
	create mask = 0664
	directory mask = 0775
	browseable = No

   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes

   path = /packages
   read only = no
   browseable = yes

   path = /var
   browsable = yes
   write list = usr1, usr2, usr3

   path = /myshare
   read only = no
   browseable = yes
   guest account = ftp
   guest ok = yes

More information about the samba mailing list