summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/modules')
-rw-r--r--source4/lib/ldb/modules/ldb_map.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/lib/ldb/modules/ldb_map.c b/source4/lib/ldb/modules/ldb_map.c
index cdf0e29405..076aa4c1dc 100644
--- a/source4/lib/ldb/modules/ldb_map.c
+++ b/source4/lib/ldb/modules/ldb_map.c
@@ -71,7 +71,11 @@ static const struct ldb_map_attribute builtin_attribute_maps[] = {
{
.local_name = "dn",
.type = MAP_CONVERT,
- .u.convert.remote_name = "dn",
+ .u = {
+ .convert = {
+ .remote_name = "dn",
+ }
+ },
.u.convert.convert_local = map_convert_local_dn,
.u.convert.convert_remote = map_convert_remote_dn,
},