summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-01-23 15:53:00 +0100
committerAndrew Bartlett <abartlet@samba.org>2013-01-27 20:14:21 +1100
commit8880c2d0d356e7208ca859e17caf208952af0e17 (patch)
treea13881dd3cb1b96b46082b6834bf6022a5d1f022 /source4
parent27a99c6236ab270a592b4e3242f92f8923a3d7e4 (diff)
downloadsamba-8880c2d0d356e7208ca859e17caf208952af0e17.tar.gz
samba-8880c2d0d356e7208ca859e17caf208952af0e17.tar.bz2
samba-8880c2d0d356e7208ca859e17caf208952af0e17.zip
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 <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/schema.py b/source4/scripting/python/samba/schema.py
index 2d1315093b..5c8f506f26 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)" \