[Samba] configuring Shares, Users with Samba 4.0.5 as an AD DC

Adam Thorn alt36 at cam.ac.uk
Sat May 18 13:57:30 MDT 2013



Ulrich Schneider <man at ulrichschneider.de> wrote:

>Maybe I should rephrase the question (and use a more suitable topic)
>
>I have Samba 4.0.5. as an active domain controller.
>I want to know how to set up shares e.g. this way:
>
>share1 	accessible r/w for users in the active directory user group
>group1
>
>share2 	accessible read only for users in the active directory user 
>group group2

You can achieve this by specifying the "valid users" parameter for each share  in the smb.conf,  which can be set to either specific users or groups. You will, of course, also need to ensure that the "valid users" have suitable permissions on the underlying filesystem as well. See:

http://www.samba.org/samba/docs/using_samba/ch09.html

Adam


More information about the samba mailing list