[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
#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






More information about the samba mailing list