summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-07 10:04:22 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-07 10:11:02 +0000
commitd6d5f80348c949c2b4984b9f211d1fff02b50948 (patch)
treec240e033de6082584a0dbe46d0f617057a7bd39d /source4/lib/ldb/ldb_tdb
parentdbf747b6ffdb3e14a10fa920eefbfa8c2a8dbfcf (diff)
downloadsamba-d6d5f80348c949c2b4984b9f211d1fff02b50948.tar.gz
samba-d6d5f80348c949c2b4984b9f211d1fff02b50948.tar.bz2
samba-d6d5f80348c949c2b4984b9f211d1fff02b50948.zip
ldb:ldb_pack.c - the "dn" attribute isn't allowed in the message part, only the "distinguishedName" one
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 7 10:11:02 UTC 2010 on sn-devel-104
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;