From 81c46686db36eaffd25c013f19094b01a8406c6a Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 23 Nov 2009 16:20:07 +0100 Subject: s4:ldap.py - Add a check for the generated "schemaIDGUID" I've forgotten to add this when checking in the reworked SAMLDB module --- source4/lib/ldb/tests/python/ldap.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') 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 = [] -- cgit