summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-08 16:59:27 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-08 18:24:53 +1100
commitd371b0eabe360f7c184a10282f63a64b0cfc550f (patch)
tree0af03461344e565d6e43db7e9a73dbf4268b67a1 /source4/scripting
parentc93a182a0d14862d960aee57f9af4baabe518549 (diff)
downloadsamba-d371b0eabe360f7c184a10282f63a64b0cfc550f.tar.gz
samba-d371b0eabe360f7c184a10282f63a64b0cfc550f.tar.bz2
samba-d371b0eabe360f7c184a10282f63a64b0cfc550f.zip
s4-schema: added adminDisplayName and adminDescription
These are missing from the WSPP schemas Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/ms_schema.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/ms_schema.py b/source4/scripting/python/samba/ms_schema.py
index a4eed581c6..9f5ebcf8cc 100644
--- a/source4/scripting/python/samba/ms_schema.py
+++ b/source4/scripting/python/samba/ms_schema.py
@@ -229,6 +229,8 @@ def __transform_entry(entry, objectClass):
entry.insert(1, ["objectClass", ["top", objectClass]])
entry.insert(2, ["cn", cn])
entry.insert(2, ["objectGUID", str(uuid.uuid4())])
+ entry.insert(2, ["adminDescription", cn])
+ entry.insert(2, ["adminDisplayName", cn])
for l in entry:
key = l[0].lower()