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:
@ -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({
|
||||
|
Reference in New Issue
Block a user