diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-09-23 03:39:58 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-10-10 08:35:30 +0200 |
commit | da7ef12b43f355fa6ff92af98645c80c85699d78 (patch) | |
tree | 03da396a1b8802dbc32c6def18585511242dd756 /source4 | |
parent | 295b4de7215f3326f9a403973547eb6ed4339f9b (diff) | |
download | samba-da7ef12b43f355fa6ff92af98645c80c85699d78.tar.gz samba-da7ef12b43f355fa6ff92af98645c80c85699d78.tar.bz2 samba-da7ef12b43f355fa6ff92af98645c80c85699d78.zip |
dsdb/tests/ldap: fix test_distinguished_name against w2k8r2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/dsdb/tests/python/ldap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/tests/python/ldap.py b/source4/dsdb/tests/python/ldap.py index f44f4eaf57..63c422a7a2 100755 --- a/source4/dsdb/tests/python/ldap.py +++ b/source4/dsdb/tests/python/ldap.py @@ -952,7 +952,7 @@ class BasicTests(samba.tests.TestCase): ldb.modify(m) self.fail() except LdbError, (num, _): - self.assertEquals(num, ERR_CONSTRAINT_VIOLATION) + self.assertEquals(num, ERR_UNWILLING_TO_PERFORM) m = Message() m.dn = Dn(ldb, "cn=ldaptestgroup,cn=users," + self.base_dn) @@ -976,7 +976,7 @@ class BasicTests(samba.tests.TestCase): ldb.modify(m) self.fail() except LdbError, (num, _): - self.assertEquals(num, ERR_CONSTRAINT_VIOLATION) + self.assertEquals(num, ERR_UNWILLING_TO_PERFORM) delete_force(self.ldb, "cn=ldaptestgroup,cn=users," + self.base_dn) |