[Samba] dsacls

Stuart Naylor stuartiannaylor at thursbygarden.org
Tue Jul 29 21:06:20 MDT 2014


Many Thanks

So much of samba-tool is undocumented but my bad.

Any examples to allow administrators only and the owner user?

 
 
-----Original message-----
> From:Quentin Gibeaux <qgibeaux at iris-tech.fr>
> Sent: Tuesday 29th July 2014 11:17
> To: samba at lists.samba.org
> Subject: Re: [Samba] dsacls
> 
> On 29/07/2014 12:05, Stuart Naylor wrote:
> > Are there any deny tools with samba4? Like the below example?
> >
> > To set the permission to deny read access of the homePhone attribute on a single user object, you can use this command:
> >
> > dsacls <DN of object> /D <security principal>:RP;homePhone
> > For our example, the command would look like this:
> >
> > dsacls "CN=Doe\, John,OU=newOU,DC=root,DC=net" /D root\
> >
> > non-HR-users:RP;homePhone
> >   
> >   
> >
> It seems samba-tool do this :
> 
> ~# samba-tool dsacl
> Usage: samba-tool dsacl <subcommand>
> 
> DS ACLs manipulation.
> 
> 
> Options:
>    -h, --help  show this help message and exit
> 
> 
> Available subcommands:
>    set  - Modify access list on a directory object.
> 
> 
> 


More information about the samba mailing list