1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

s4:ldap.py - we test the creation of secrets already in the "systemOnly" testcase

Reviewed-by: abartlet
This commit is contained in:
Matthias Dieter Wallnöfer
2011-10-13 08:21:31 +02:00
parent 6fc55cb9f2
commit bb02aa5e00

View File

@ -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({