git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dcabde
)
s4-ldb: removed bugus RDN length check
author
Andrew Tridgell
<tridge@samba.org>
Wed, 14 Oct 2009 23:01:10 +0000
(10:01 +1100)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_dn.c
b/source4/lib/ldb/common/ldb_dn.c
index 798b85dc851b459611478d6ac2d4b2a28287349e..fa3865e77f42daee248b4c4a8586b99c1a9f5d2d 100644
(file)
--- 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;