I am trying to access an NTFS (ntfs-3g) share from a Windows machine through the Samba 3 on Debian.
I am getting this error on Windows when I try net use command:
System error 5 has occurred.
Access is denied.
, which I am sure is not due to a bad password because that would be
System error 86 has occurred.
The specified network password is not correct.
I have my /etc/samba/smb.conf setup like this under global:
security = user
and for the share:
valid users = @users
force group = users
create mask = 0777
directory mask = 0777
writeable = Yes
browseable = yes
guest ok = no
Output of "$ sudo testparm -s" command includes under the specific share:
valid users = %S
force group = users
create mask = 0700
directory mask = 0700
Any clues/hints for what could be going wrong? Please let me know if more information is needed to solve the problem. Thanks.
Also, ensure that the unix user you've mapped to is in the "users" group. Use the command "groups" to see what groups that user account belongs to.
– JKim Jan 18 '13 at 04:08; users=@users guest ok=yes create mask=777– arslanb Jan 18 '13 at 04:53