[Samba] Restrict access to users home drives

Marc Muehlfeld samba at marc-muehlfeld.de
Sat Oct 26 10:27:41 MDT 2013


Hello Hans,

Am 26.10.2013 17:14, schrieb spamvoll at googlemail.com:
> I have exactly the same problem.
> Just installed 4.1.0, roaming profiles are working, only the user has
> access to it, but Users Home Shares are visible and writeable for all.
>
> [Users]
>          comment = Home Directories
>          directory_mode: parameter = 0700
>          path = /home/HOME/
>          read only = No
>          csc policy = documents
>
> [Profiles]
>       path = /home/Profiles/
>       read only = no


Did you checked the HowTo?
http://wiki.samba.org/index.php/Setup_and_configure_file_shares


Have you enabled user_xattr on the filesystem where your homes are? And 
have you set the permissions on the share and it's folders on Windows?



 > directory_mode: parameter = 0700

What is this for a parameter? I don't find "directory_mode" in the 
(4.0.9) smb.conf manpage.



Regards,
Marc


More information about the samba mailing list