Just set up a samba server in debian and have problem get user log onto pubshare folder except root. users can access their homes directory though.

Here is my smb.conf


#====Global Settings =========

[global]


workgroup = mydomain
netbios = bud2-dr
server string = %h server

security = user


dns proxy = no



#### Debugging/Accounting ####


log file = /var/log/samba/log.%m
max log size = 500
syslog = 0
panic action = /usr/share/samba/panic-action %d


####### Authentication #######

security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes

unix password sync = yes

passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .


############ Misc ############

socket options = TCP_NODELAY


#======================= Share Definitions =======================

[homes]
comment = Home Directories
browseable = yes
writable = yes


create mask = 0775
directory mask = 0775

valid users = %S



[pubshare]

comment = multi-user access
path = /samba
browseable = yes
writeable = yes
public = yes
guest ok = yes
create mask = 0664
directory mask = 0775

security = share


The ideas is to have all users of the debian server have read/write access to the folder. (no guest though).

The /samba folder is
drw-rw-rw- 2 root root 4096 2008-01-24 21:34 samba

The error msg is from a xp pro dos prompt is:
system error 65 has occurred.
Network access is denied.

Anyone give me a hand on this?