provision: add optional name_map={} argument to get_*_descriptor()
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Jan 2013 14:51:37 +0000 (15:51 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 Jan 2013 10:07:22 +0000 (11:07 +0100)
commit138b2a831fe3ffb903fac00b86e5f5ea7ab47148
tree6be789023179ab2dcdf0971ea2fdfdd902046b1d
parent2e8043e5cf4bdcf7e8ed4647b6ce2f907cbdadf1
provision: add optional name_map={} argument to get_*_descriptor()

This will allow subsitute non-wellkown names in the SDDL,
e.g. 'DnsAdmins'.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 27a99c6236ab270a592b4e3242f92f8923a3d7e4)
source4/scripting/python/samba/provision/descriptor.py