Hi guys.
I am having some problems trying to connect to a samba share from my windows 7 laptop. I have just set up CentOS 5.5 and have installed webmin. Using webmin I have created a samba share called "Staff" I created a unix user named Staff and made that user into a samba user.
The problem is this: When I try to connect to the "Staff" share in windows, it asks me for a username and password. I try imputing the username Staff and its password and it is rejected every time.
HOWEVER, When I comment out the line "passdb backend = tdbsam" from the global section of the smb.conf, I can access the share just fine. the only problem is, I can also access the share using any random username and password therefore the username and password doesnt matter.
Here is my smb.conf
Code:
[global]
cups options = raw
netbios name = KISKA
winbind enum users = no
default service = global
workgroup = NUS
winbind enum groups = no
os level = 20
domain master = yes
null passwords = yes
winbind trusted domains only = no
encrypt passwords = yes
security = SHARE
passdb backend = tdbsam
preferred master = no
load printers = no
[Staff]
guest account = staff
delete readonly = yes
writeable = yes
path = /nusdata/staff
force directory mode = 755
force group = staff
force create mode = 755
force user = staff
valid users = staff,admin,@staff,@admin
case sensitive = yes
available = yes
# revalidate = yes
I am planning on completely deleting my unix users and rebuilding the smbpasswd database from scratch. I will post updates as I keep testing.
Any help would be appreciated!!