[Samba] Help please

Warren Chan ycchan at sympatico.ca
Wed Jul 24 19:52:02 GMT 2002


Hi there,

l think l tried everything possible and still can not solve the problem l
have. It may be very simple one but l just do not get it. Hope you guys can
help.

l installed Samba. From a W2K PRO PC, l can see my home folder in the Samba
server and that is it. l can not see any share (test and path is /misc in my
case) l put in the smb.conf file.

Below is my very simple smb.conf file.

[global]
workgroup = mygroup
security = users
encrypt passwords = yes
log file = /var/log/samba/samba.log


[test]
valid users = wilson root
# guest ok = yes
path = /misc
public = yes
writable = yes

When l do a "smbclient -L servername -U username%password"
l get the error message : "session setup failed:ERRSRV - ERRbadpw (Bad
password - name/password pair in a Tree Connect or Session Setup are
invalid).

Please be noted that l did created a user first in Linux and then use
smbpasswd to create the same user with the same passwd. l also export the
/misc folder by adding the line "/misc 192.168.1.0/255.255.255.0(rw)" in the
/etc/exports and then start the nfs service. l did a showmount -e to make
sure the mount is there.

However when l do  "smbclient -L servername -U root%password", it is OK. But
it still does not list the share of test.

Version : Samba 2.2.1a bindary package
OS : RedHat Linux 7.1 and 7.3


Thanks a lot

Warren






More information about the samba mailing list