From 4185e376f5a50cbc83f4b0ff23dacceba9b6271d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 15 Oct 2009 10:01:10 +1100 Subject: s4-ldb: removed bugus RDN length check This isn't the rDN ! --- source4/lib/ldb/common/ldb_dn.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index 798b85dc85..fa3865e77f 100644 --- a/source4/lib/ldb/common/ldb_dn.c +++ b/source4/lib/ldb/common/ldb_dn.c @@ -464,11 +464,6 @@ static bool ldb_dn_explode(struct ldb_dn *dn) parse_dn++; } - /* The RDN size must be less than 255 characters */ - if (strlen(parse_dn) > 255) { - return false; - } - /* Empty DNs */ if (parse_dn[0] == '\0') { return true; -- cgit