summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-23 16:20:07 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-23 16:21:10 +0100
commit81c46686db36eaffd25c013f19094b01a8406c6a (patch)
tree5217ff5e671169b72b7dd25781a4f7f2c17643bf
parent664bc885d9a7b1be5a9aacc2681ca8774d3324eb (diff)
downloadsamba-81c46686db36eaffd25c013f19094b01a8406c6a.tar.gz
samba-81c46686db36eaffd25c013f19094b01a8406c6a.tar.bz2
samba-81c46686db36eaffd25c013f19094b01a8406c6a.zip
s4:ldap.py - Add a check for the generated "schemaIDGUID"
I've forgotten to add this when checking in the reworked SAMLDB module
-rwxr-xr-xsource4/lib/ldb/tests/python/ldap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/tests/python/ldap.py b/source4/lib/ldb/tests/python/ldap.py
index f9801e2f5a..94bdf7e37d 100755
--- a/source4/lib/ldb/tests/python/ldap.py
+++ b/source4/lib/ldb/tests/python/ldap.py
@@ -1990,6 +1990,7 @@ name: """ + object_name + """
res = self.ldb.search("cn=%s,%s" % (attr_name, self.schema_dn), scope=SCOPE_BASE, attrs=["*"])
self.assertEquals(len(res), 1)
self.assertEquals(res[0]["lDAPDisplayName"][0], attr_ldap_display_name)
+ self.assertTrue("schemaIDGUID" in res[0])
# Search for created objectclass
res = []
@@ -1997,6 +1998,7 @@ name: """ + object_name + """
self.assertEquals(len(res), 1)
self.assertEquals(res[0]["lDAPDisplayName"][0], class_ldap_display_name)
self.assertEquals(res[0]["defaultObjectCategory"][0], res[0]["distinguishedName"][0])
+ self.assertTrue("schemaIDGUID" in res[0])
# Search for created object
res = []