ldb/tdb: make sure we use the default syntax for all attributes of dn: @ATTRIBUTES
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Sep 2013 06:33:14 +0000 (08:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 25 Sep 2013 08:42:01 +0000 (10:42 +0200)
commit0e8f78fa42c381c5ad39bcfccac0f234b3f39886
treee2925ff8be1283fd3cc528b9a73b491a0796c89e
parentb0c7e17291571c6e303cb46aa34a43133603f9c5
ldb/tdb: make sure we use the default syntax for all attributes of dn: @ATTRIBUTES

The values are already checked in ltdb_check_special_dn() which is called
before calling into ltdb_add_internal/ltdb_modify_internal.

So ltdb_add_internal/ltdb_modify_internal should not verify it again
and get the default syntax by forcing "@" as attribute name
for ldb_schema_attribute_by_name().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_tdb/ldb_tdb.c