From: Stefan Metzmacher Date: Wed, 23 Jan 2013 14:53:00 +0000 (+0100) Subject: schema.py: add optional name_map={} to get_schema_descriptor() X-Git-Tag: tevent-0.9.18~392 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8880c2d0d356e7208ca859e17caf208952af0e17;p=thirdparty%2Fsamba.git schema.py: add optional name_map={} to get_schema_descriptor() This is not used, but makes the prototype compatible with the other get_*_descriptor() functions. Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/source4/scripting/python/samba/schema.py b/source4/scripting/python/samba/schema.py index 2d1315093b2..5c8f506f26e 100644 --- a/source4/scripting/python/samba/schema.py +++ b/source4/scripting/python/samba/schema.py @@ -32,7 +32,7 @@ from samba import dsdb from ldb import SCOPE_SUBTREE, SCOPE_ONELEVEL import os -def get_schema_descriptor(domain_sid): +def get_schema_descriptor(domain_sid, name_map={}): sddl = "O:SAG:SAD:AI(OA;;CR;e12b56b6-0a95-11d1-adbb-00c04fd8d5cd;;SA)" \ "(OA;;CR;1131f6aa-9c07-11d1-f79f-00c04fc2dcd2;;ED)" \ "(OA;;CR;1131f6ab-9c07-11d1-f79f-00c04fc2dcd2;;ED)" \