summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_dn.c5
1 files changed, 0 insertions, 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;