here is the section of my smb.conf showing my shared folder
[pub]
path = /work/pub
writeable = Yes
browseable = yes
level2 oplocks = Yes
-------------------------------------------------------
also you should have this in smb.conf
security - SHARE
encrypt passwords = Yes
not user, and setup windows the same way.
------------------------------------------------------
this line in smb.conf will cause a log file for each machine which may give you some info after trying to access a share
log file = /var/log/samba/%m.log
[root@alpha samba]# cat winme.log
[2001/10/24 01:39:18, 1] smbd/service.c:make_connection(550)
winme (10.0.0.2) connect to service pub as user david (uid=500, gid=500) (pid 28914)
[2001/10/24 01:40:36, 1] smbd/service.c:close_cnum(581)
winme (10.0.0.2) closed connection to service pub
------------------------------------------------------
these lines will grant access to your users by interface, username and ip address.
Note that eth0 is not allow a connection, it is my internet interface.
interfaces = eth1 eth2 127.0.0.1
bind interfaces only = yes
valid users = david
hosts allow = 10.0.0. 11.0.0. 127.0
-------------------------------------------------------
By binding ppp0 to eth1, eth2 or the lo interface my dialup client will still be able to access the shares. (you may not be doing this yet)
-------------------------------------------------------
you can try adding a new user if you already have all this.
also you may try it with this in smb.conf
username = david
guest account = david
------------------------------------------------------
and be sure to add the user by running
smbadduser unixname:sambaname
then run
smbpasswd sambaname
-------------------------------------------------------