diff options
Diffstat (limited to 'source4/lib/ldb/tests')
-rwxr-xr-x | source4/lib/ldb/tests/python/ldap.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/python/ldap.py b/source4/lib/ldb/tests/python/ldap.py index 66b1f28adb..156a42fe17 100755 --- a/source4/lib/ldb/tests/python/ldap.py +++ b/source4/lib/ldb/tests/python/ldap.py @@ -445,9 +445,11 @@ class BasicTests(unittest.TestCase): self.delete_force(self.ldb, "description=xyz,cn=users," + self.base_dn) + # a wrong "name" attribute is obviously tolerated self.ldb.add({ "dn": "cn=ldaptestgroup,cn=users," + self.base_dn, - "objectclass": "group"}) + "objectclass": "group", + "name": "ldaptestgroupx"}) m = Message() m.dn = Dn(ldb, "cn=ldaptestgroup,cn=users," + self.base_dn) |