Click to See Complete Forum and Search --> : can see but not access-winxp + samba
chanmy8
01-13-2003, 11:48 AM
hi,
I try to connect winxp to linux box with simple file sharing. I am able to see my linuxserver from neighbourhood, but i cant "enter" into it to see/access the share folder.
I have add user account to linux and samba with username same as my winxp machine name. But still not working
BTW, I have set encrypt password = yes
Any ideas?
Thank you
Bokkenka
01-13-2003, 12:04 PM
Did you smbpasswd -a username ? It adds an entry in the smbpasswd file. That's the password file Samba checks when a user comes across the network looking for a share. It doesn't use the standard login password file.
chanmy8
01-13-2003, 08:40 PM
Hi,
YEs, I did. What still not working.
I would like to make it clearer here.
My winxp machine named "ckk", so I need to create an "ckk" account in linux and samaba too? Does the password must same as winxp password? If i don't have login set in winxp, then how?
Again, If I need to connect to linux box, it must be in domain? Could I make it simple sharing just like 2 winxp connect to each other without domain?
Thank you
Originally posted by Bokkenka
Did you smbpasswd -a username ? It adds an entry in the smbpasswd file. That's the password file Samba checks when a user comes across the network looking for a share. It doesn't use the standard login password file.
Please post your smb.conf.
chanmy8
01-14-2003, 10:18 AM
Hi,
[global]
netbiosname=cswei
server string = samba server
interfaces = 192.168.0.2/24 127.0.0.1/24
encrypt passwords = yes
obey pam restrictions = yes
pam password change = yes
passwd program = /usr/bin/password %u
passwd chat = *New*password* %n\n *Retype*new*passsword* %n\n *passwd:*all*authentication*tokens*update*successf
ully*
unix password sync = 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
hosts allow = 192.168.0.1
printing = lprng
[homes]
path = /home/public
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
guest ok = yes
browseable = yes
[printers]
path = /var/spool/samba
guest ok = yes
printable = yes
browseable = yes
[/pub]
path = /pub
guest ok = yes
public = yes
guest ok = yes
hosts allow = 192.168.0.1
Thank you
One thing that may be a problem is [/pub] should be called [pub]. This might cause a problem because on others boxes it would look like \\cswei\/pub. Leave the path alone though.
I think you can't access the shares because your guest account doesn't have access. For example, if /pub has permissions rwx------, then only the owner can access it. You should either make your guest account the owner or change the permissions.