We are running a Samba fileshare which has several users specified in the smb.conf as follows:
Code:
# path = /data/HR
path = /usbhdd/HR
writeable = yes
browseable = yes
guest ok = no
oplocks = no
locking = no
valid users = bungle zippy charlie root joe
veto files = /*.msi/*.exe/*.mp3/*.bat/*.com/*.dll/*.lnk/*.asd/*.shb/*.vb/*.wsf/*.wsh/*.pif/*.scr/*.chm/*.hta/*.shs/*.vbs/*.vbe/*.js/*.jse/*.wmv/*.3gp/*.avi/*.mp4/
The server is also used as NIS server and all the users specified also have server accounts created using adduser. The passwords used to authenticate for Samba are therefore being handled by PAM and are stored encrypted in /etc/shadow.
All is good for all users except for zippy, who was added later. Zippy is unable to successfully authenticate to connect to the Samba fileshare.
Zippy is however able to login via NIS, which confirms that his server account is operational and working fine.
When he tries to login to the fileshare, the following entry appears in /var/log/samba/log.zippy
Code:
[2011/08/01 17:23:50.555369, 1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
After the user account on the server was setup, all I did was add zippy's name to the smb.conf in the same place as the others. Did I miss something?
Thanks.