summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-11-09 22:19:52 +1100
committerAndrew Tridgell <tridge@samba.org>2009-11-09 22:19:52 +1100
commit932cda330af01d8f749c68cf2cbe59c79c6c3ea8 (patch)
treec9953d612e3b80bf16e88c9c9017473f004e42b7 /source4/lib/ldb/tests
parent2b858c69391b2d64f19291eb349cb5ba9e48045b (diff)
downloadsamba-932cda330af01d8f749c68cf2cbe59c79c6c3ea8.tar.gz
samba-932cda330af01d8f749c68cf2cbe59c79c6c3ea8.tar.bz2
samba-932cda330af01d8f749c68cf2cbe59c79c6c3ea8.zip
s4-samdb: remove the rDN size constraint of 64
This size constraint is not correct in it's current form, as windows does send us rDN values for CN with lengths longer than 64. Once we know how this constraint really works we can add it back in.
Diffstat (limited to 'source4/lib/ldb/tests')
-rwxr-xr-xsource4/lib/ldb/tests/python/ldap.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/python/ldap.py b/source4/lib/ldb/tests/python/ldap.py
index 118fb87c84..0c247cf7f6 100755
--- a/source4/lib/ldb/tests/python/ldap.py
+++ b/source4/lib/ldb/tests/python/ldap.py
@@ -484,7 +484,10 @@ class BasicTests(unittest.TestCase):
self.delete_force(self.ldb, "cn=ldaptestgroup,cn=users," + self.base_dn)
- def test_largeRDN(self):
+
+ # this test needs to be disabled until we really understand
+ # what the rDN length constraints are
+ def DISABLED_test_largeRDN(self):
"""Testing large rDN (limit 64 characters)"""
rdn = "CN=a012345678901234567890123456789012345678901234567890123456789012";
self.delete_force(self.ldb, "%s,%s" % (rdn, self.base_dn))