s4-schema: added adminDisplayName and adminDescription
authorAndrew Tridgell <tridge@samba.org>
Fri, 8 Jan 2010 05:59:27 +0000 (16:59 +1100)
committerAndrew 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

index a4eed581c6395162e58fff254e09f15ee24d9237..9f5ebcf8cc77466b75a907702c58bffb6229b758 100644 (file)
@@ -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()