Hi,good morning every one. I configured a samba server on linux system,when I test the samba server by 'smbclient -U% -L localhost',the wrong message is :tree connect failded:ERRSRV-ERRbadpw(bad password - name/password pair in a Tree Connect or Session Setup are invalid). On the other hand,when I visit the samba server by Win2000 professional client,I can see the icon of the machine which have installed samba server.but when I double clicked the icon , the wrong message is ;can not find the network path.I configured the [public] in /etc/samba/smb.conf.below is my configuration file,please tell me what's wrong with it and how to add a new user to smb database? #SMB.CONF [global] netbios name = linux samba test workgroup = workgroup hosts allow = 192.168.1. 192.168.2. 127. printcap name = /etc/printcap load printers = yes printing = lprng guest account = guest log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd username map = /etc/samba/smbusers socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 192.168.0.1/24 192.168.1.1/24 os level = 33 dns proxy = no [homes] comment = Home Directories for %S path = /hyh/%u browseable = yes writable = yes valid users = %S %u administrator create mode = 0664 directory mode = 0775 map to guest = bad user [netlogon] comment = Network Logon Service path = /usr/local/samba/lib/netlogon guest ok = yes writable = no share modes = no [Profiles] path = /usr/local/samba/profiles browseable = no guest ok = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes [tmp] comment = Temporary file space path = /tmp read only = no public = yes browseable = yes [public] comment = Public Stuff path = /hyh public = yes writable = yes printable = no write list = @workgroup [public] path = /hyh/public public = yes only guest = yes writable = yes printable = no browseable = yes [myshare] comment = Mary's and Fred's stuff path = /hyh/shared valid users = administrator root public = no writable = yes printable = no create mask = 0765 browseable = yes ##SMBUSERS # Unix_name = SMB_name1 SMB_name2 ... root = administrator admin nobody = guest pcguest smbguest -------------- next part -------------- 3j?Zr??????y??v?????