[Samba] print samba-tool dsacl

Martin Krämer mk.maddin at gmail.com
Sat Nov 10 07:54:31 UTC 2018


Hello everyone,

since I was not able to find any tool like requested previously I did a
"quick and dirty" for samba-tool.
I copied the "class cmd_dsacl_set" to a new one "class cmd_dsacl_get" and
modified it to only print (everything needed was already implemented in
"class cmd_dsacl_set").
Attached is the according diff.

Where do I need to put this to maybe have it implemented into "samba-tool"
officially in future?

Thanks


Am Fr., 9. Nov. 2018 um 21:40 Uhr schrieb Martin Krämer <mk.maddin at gmail.com
>:

> Hey,
>
> when running "samba-tool dsacl set" it prints the new acl of the applied
> object after command has finished.
> Is there a (bash) command to only print (not set/change) the current acl
> of an object?
>
> Thanks for any help & hints
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsacl.py.diff
Type: text/x-patch
Size: 2654 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20181110/a4e28fb0/dsacl.py.bin>


More information about the samba mailing list