diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/modules/ldb_map.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source4/lib/ldb/modules/ldb_map.c b/source4/lib/ldb/modules/ldb_map.c index 076aa4c1dc..423dab38bb 100644 --- a/source4/lib/ldb/modules/ldb_map.c +++ b/source4/lib/ldb/modules/ldb_map.c @@ -74,17 +74,21 @@ static const struct ldb_map_attribute builtin_attribute_maps[] = { .u = { .convert = { .remote_name = "dn", - } + .convert_local = map_convert_local_dn, + .convert_remote = map_convert_remote_dn, + }, }, - .u.convert.convert_local = map_convert_local_dn, - .u.convert.convert_remote = map_convert_remote_dn, }, { .local_name = "objectclass", .type = MAP_CONVERT, - .u.convert.remote_name = "objectclass", - .u.convert.convert_local = map_convert_local_objectclass, - .u.convert.convert_remote = map_convert_remote_objectclass, + .u = { + .convert = { + .remote_name = "objectclass", + .convert_local = map_convert_local_objectclass, + .convert_remote = map_convert_remote_objectclass, + }, + }, }, { .local_name = NULL, |