samba_tool: Improve samba-tool ntacl get/set to use the local sam.ldb SID
commitf9cee8d832495798beb025c16afed5bd6a13799b
authorAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2012 08:12:52 +0000 (5 18:12 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2012 12:12:20 +0000 (5 14:12 +0200)
treedbd1ae9a93834e7cd45191bdd019e9e448f45253
parent7b5ba3013867ae77d516b5ac3cd264fbaf5ca372
samba_tool: Improve samba-tool ntacl get/set to use the local sam.ldb SID

This gets the SID for the local machine correctly.

We also add options for --use-ntvfs and --use-s3fs to help control
exactly which database is being read and written.

Andrew Bartlett
source4/scripting/python/samba/netcmd/ntacl.py