From 8880c2d0d356e7208ca859e17caf208952af0e17 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 23 Jan 2013 15:53:00 +0100 Subject: [PATCH] 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 --- source4/scripting/python/samba/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" \ -- 2.11.4.GIT