diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-10-13 08:21:31 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-10-27 18:52:29 +0200 |
commit | bb02aa5e0020e9f41d353d59889888caf9867b91 (patch) | |
tree | 8a0e978eb2e76ce8f6b0bef4ff6a02bd1723b787 /source4/dsdb | |
parent | 6fc55cb9f2cafc6d9105574a1a40f5d9ad22a860 (diff) | |
download | samba-bb02aa5e0020e9f41d353d59889888caf9867b91.tar.gz samba-bb02aa5e0020e9f41d353d59889888caf9867b91.tar.bz2 samba-bb02aa5e0020e9f41d353d59889888caf9867b91.zip |
s4:ldap.py - we test the creation of secrets already in the "systemOnly" testcase
Reviewed-by: abartlet
Diffstat (limited to 'source4/dsdb')
-rwxr-xr-x | source4/dsdb/tests/python/ldap.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/dsdb/tests/python/ldap.py b/source4/dsdb/tests/python/ldap.py index b47db94579..20e05faaf5 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({ |