Friday, March 17, 2017

Samba: Access trouble from Windows

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.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...