s4:python/ntacl: add 'as_sddl' option to dsacl2fsacl()
authorStefan Metzmacher <metze@samba.org>
Thu, 29 Nov 2012 08:57:44 +0000 (09:57 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 3 Dec 2012 07:46:46 +0000 (08:46 +0100)
commit6f71071381ead9976f4a6d296c9a1ade385484e0
treebd9cf7d4737ce6d6cdf23d9515bf73620c0a5837
parent06f026368e5b657394bb9e681c3d0184104bc120
s4:python/ntacl: add 'as_sddl' option to dsacl2fsacl()

This allows the caller to ask for a security.descriptor instead of sddl
by passing 'as_sddl=False'.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/scripting/python/samba/ntacls.py