diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-15 15:53:40 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-15 15:53:40 +1100 |
commit | 144686a838ca33ce5ccfed0f559e3165563946cc (patch) | |
tree | 2348879b53e97c47a304355a1aaa38760f6a98b0 /source4/torture/ldb | |
parent | 4185e376f5a50cbc83f4b0ff23dacceba9b6271d (diff) | |
download | samba-144686a838ca33ce5ccfed0f559e3165563946cc.tar.gz samba-144686a838ca33ce5ccfed0f559e3165563946cc.tar.bz2 samba-144686a838ca33ce5ccfed0f559e3165563946cc.zip |
s4-ldb: removed incorrect rDN length test
This is a property of AD, not ldb, so should be in our ldb
modules.
Diffstat (limited to 'source4/torture/ldb')
-rw-r--r-- | source4/torture/ldb/ldb.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source4/torture/ldb/ldb.c b/source4/torture/ldb/ldb.c index c7021941b4..23c9bb2333 100644 --- a/source4/torture/ldb/ldb.c +++ b/source4/torture/ldb/ldb.c @@ -671,19 +671,6 @@ static bool torture_ldb_dn(struct torture_context *torture) NULL == ldb_dn_from_ldb_val(mem_ctx, ldb, &val), "should fail to create a DN with 0x0 in it"); - torture_assert(torture, - dn = ldb_dn_new(mem_ctx, ldb, "CN=loooooooooooooooooooooooooooo" -"ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo" -"ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo" -"ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo" -"ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo" -"ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooongdn,DC=SAMBA,DC=org"), - "Failed to create a DN with size more than 255 characters"); - - torture_assert(torture, - ldb_dn_validate(dn) == false, - "should have failed to validate DN with size more than 255 characters"); - talloc_free(mem_ctx); return true; } |