[Samba] getting error with setfacl

Jeremy Allison jra at samba.org
Wed Nov 3 18:07:18 MDT 2010


On Wed, Nov 03, 2010 at 05:05:28PM -0700, James D. Parra wrote:
> 
> On Wed, Nov 03, 2010 at 11:25:44PM +0000, Miguel Medalha wrote:
> > 
> > >I have joined the Linux server (Suse 11.2) to the Windows domain (win2003) and users can login to the server using their window's domain credentials. Also can view all of the domain groups using 'wbinfo -g', however when I try to set the acls on a local dir' I get the follow error;
> > >
> > >#setfacl -m g:DOMAIN\\groupname:r /tmp/testacl
> > >setfacl: Option -m: Invalid argument near character 3
> > 
> > The setfacl tool knows nothing about Windos domains, hence the error
> > you see.
> 
> Well it does if you're using winbindd to map DOMAIN\\groupname
> to a group on the box :-).
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Thank you Jeremy. What is the best way to do that?

Check into setting up and running winbindd. Lots of docs
available.

Jeremy.


More information about the samba mailing list