[Samba] Adding a new share

Rowland Penny rowlandpenny241155 at gmail.com
Fri Sep 11 16:30:36 UTC 2015


On 11/09/15 17:16, Robert Moskowitz wrote:
> From:
>
> https://wiki.samba.org/index.php/Shares_with_Windows_ACLs#Preparatory_work 
>
>
> It instructions:
>
> setfacl -m g:"domain admins":rwx /srv/samba/Demo/
>
> or use another group or user.
>
> Where are these defined, and when I do a
>
> ls -ls /srv/samba/Demo/
>
> what will I see?
>
> I did try the above command and got:
>
> setfacl: Option -m: Invalid argument near character 3
>
>
> So I need more help than what I see in the wiki.  But that is not 
> new!  ;)
>
>
>

Ah, 'setfacl' has an opposite, 'getfacl' , so try 'getfacl /srv/samba/Demo'

I 'think' your problem is that before you can set the ACL with setfacl, 
your Unix box needs to be able to resolve "domain admins", so, do you 
get anything if you run 'getent group Domain\ Admins' ?

Rowland



More information about the samba mailing list