[Samba] print samba-tool dsacl

Martin Krämer mk.maddin at gmail.com
Sat Nov 10 08:19:09 UTC 2018


Sorry - I have just seen i did the "diff -u" in wrong order and used my
test files.

Here once again the correct diff.

Am Sa., 10. Nov. 2018 um 08:54 Uhr schrieb Martin Krämer <
mk.maddin at gmail.com>:

> 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/365689d6/dsacl.py.bin>


More information about the samba mailing list