Adam Knezevic
asked on
Making a share in Samba acting as an AD
Hi!
We have recently taken over a new client who has an Ubuntu 14.04 server running Samba that acts as a DC. We also have a Windows 2012 R2 server with AD connected to this server.
What we want to do, is make a new share that only members of a security group in AD can access. Following the guide found here, https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs , i run the below as root,
chown -R root:"Domain Admins" /mnt/data/destination
Each time I do this, Ubuntu cant understand who Domain Admins is. My samba config for this is
[Share Name]
path = "/mnt/data/destination"
read only = no
vfs objects = streams_xattr
The share works and is viewable, and making the permissions 777 in Linux does allow me to write (Will be changed, that's just for testing) but the whole idea of this share was for it to be exclusive for certain users in a security group.
Any assistance or queries would be greatly appreciated!
We have recently taken over a new client who has an Ubuntu 14.04 server running Samba that acts as a DC. We also have a Windows 2012 R2 server with AD connected to this server.
What we want to do, is make a new share that only members of a security group in AD can access. Following the guide found here, https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs , i run the below as root,
chown -R root:"Domain Admins" /mnt/data/destination
Each time I do this, Ubuntu cant understand who Domain Admins is. My samba config for this is
[Share Name]
path = "/mnt/data/destination"
read only = no
vfs objects = streams_xattr
The share works and is viewable, and making the permissions 777 in Linux does allow me to write (Will be changed, that's just for testing) but the whole idea of this share was for it to be exclusive for certain users in a security group.
Any assistance or queries would be greatly appreciated!
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Open in new window