summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_pack.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_pack.c b/source4/lib/ldb/ldb_tdb/ldb_pack.c
index 396b80ae45..8ab07cd347 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_pack.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_pack.c
@@ -59,8 +59,6 @@ static int attribute_storable_values(const struct ldb_message_element *el)
{
if (el->num_values == 0) return 0;
- if (ldb_attr_cmp(el->name, "dn") == 0) return 0;
-
if (ldb_attr_cmp(el->name, "distinguishedName") == 0) return 0;
return el->num_values;