s3:pylibsmb: Add .get_acl() API to SMB py bindings
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 12 Dec 2018 03:14:43 +0000 (16:14 +1300)
committerTim Beale <timbeale@samba.org>
Mon, 14 Jan 2019 02:30:20 +0000 (03:30 +0100)
commitbae415453e13ee1c54d40459c8239b72dea9fa7b
treea66762916dbb69d32f534f11185b146d341f6e35
parent8900e0b4cb05613df9cbeeb8b8253273b06b3c17
s3:pylibsmb: Add .get_acl() API to SMB py bindings

There is no obvious async-equivalent of cli_query_security_descriptor(),
so it will throw an error if anyone tries to use it in multi-threaded
mode. Currently only samba-tool and tests use the (s4) .get_acl() API,
both of which will be fine using the synchronous API.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source3/libsmb/pylibsmb.c