summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a0abc337ce..a4eed581c6 100644
--- a/source4/scripting/python/samba/ms_schema.py
+++ b/source4/scripting/python/samba/ms_schema.py
@@ -7,6 +7,7 @@
import re
import base64
+import uuid
bitFields = {}
@@ -227,6 +228,7 @@ def __transform_entry(entry, objectClass):
entry.insert(0, ["dn", "CN=%s,${SCHEMADN}" % cn])
entry.insert(1, ["objectClass", ["top", objectClass]])
entry.insert(2, ["cn", cn])
+ entry.insert(2, ["objectGUID", str(uuid.uuid4())])
for l in entry:
key = l[0].lower()