From: Matthias Dieter Wallnöfer Date: Thu, 13 Oct 2011 06:21:31 +0000 (+0200) Subject: s4:ldap.py - we test the creation of secrets already in the "systemOnly" testcase X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=bb02aa5e0020e9f41d353d59889888caf9867b91;p=ddiss%2Fsamba.git s4:ldap.py - we test the creation of secrets already in the "systemOnly" testcase Reviewed-by: abartlet --- diff --git a/source4/dsdb/tests/python/ldap.py b/source4/dsdb/tests/python/ldap.py index b47db94579c..20e05faaf56 100755 --- a/source4/dsdb/tests/python/ldap.py +++ b/source4/dsdb/tests/python/ldap.py @@ -101,15 +101,6 @@ class BasicTests(unittest.TestCase): """Test objectClass behaviour""" print "Test objectClass behaviour""" - # We cannot create LSA-specific objects (oc "secret" or "trustedDomain") - try: - self.ldb.add({ - "dn": "cn=Test Secret,cn=system," + self.base_dn, - "objectClass": "secret" }) - self.fail() - except LdbError, (num, _): - self.assertEquals(num, ERR_UNWILLING_TO_PERFORM) - # Invalid objectclass specified try: self.ldb.add({