From d6d5f80348c949c2b4984b9f211d1fff02b50948 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 7 Nov 2010 10:04:22 +0100 Subject: ldb:ldb_pack.c - the "dn" attribute isn't allowed in the message part, only the "distinguishedName" one MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Sun Nov 7 10:11:02 UTC 2010 on sn-devel-104 --- source4/lib/ldb/ldb_tdb/ldb_pack.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source4/lib') 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; -- cgit