summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-15 10:01:10 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-15 10:01:10 +1100
commit4185e376f5a50cbc83f4b0ff23dacceba9b6271d (patch)
tree7817bc3fc3db10f1662fe0c47a5ade186bbb5d4f /source4/lib
parent7dcabdec74bdfbb323ecd2c268cd1278e6f2c006 (diff)
downloadsamba-4185e376f5a50cbc83f4b0ff23dacceba9b6271d.tar.gz
samba-4185e376f5a50cbc83f4b0ff23dacceba9b6271d.tar.bz2
samba-4185e376f5a50cbc83f4b0ff23dacceba9b6271d.zip
s4-ldb: removed bugus RDN length check
This isn't the rDN !
Diffstat (limited to 'source4/lib')
-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;