s4-ldb: removed bugus RDN length check
authorAndrew Tridgell <tridge@samba.org>
Wed, 14 Oct 2009 23:01:10 +0000 (10:01 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 14 Oct 2009 23:01:10 +0000 (10:01 +1100)
This isn't the rDN !

source4/lib/ldb/common/ldb_dn.c

index 798b85dc851b459611478d6ac2d4b2a28287349e..fa3865e77f42daee248b4c4a8586b99c1a9f5d2d 100644 (file)
@@ -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;