git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93a182
)
s4-schema: added adminDisplayName and adminDescription
author
Andrew Tridgell
<tridge@samba.org>
Fri, 8 Jan 2010 05:59:27 +0000
(16:59 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 8 Jan 2010 07:24:53 +0000
(18:24 +1100)
These are missing from the WSPP schemas
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/ms_schema.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/ms_schema.py
b/source4/scripting/python/samba/ms_schema.py
index a4eed581c6395162e58fff254e09f15ee24d9237..9f5ebcf8cc77466b75a907702c58bffb6229b758 100644
(file)
--- 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()