summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/modules
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-01 07:29:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:19 -0500
commit7a3e0a89f11f11527bc5e35310185efd210fa9ce (patch)
tree639e70190ff29a3dce73e9321dbd467c040389df /source4/lib/ldb/modules
parent9c8483dd123d75d768378a3a745b63e95a087f36 (diff)
downloadsamba-7a3e0a89f11f11527bc5e35310185efd210fa9ce.tar.gz
samba-7a3e0a89f11f11527bc5e35310185efd210fa9ce.tar.bz2
samba-7a3e0a89f11f11527bc5e35310185efd210fa9ce.zip
r9879: A quick check to see if nested initialisers (?) is portable across the
build farm. I have a feeling it isn't. (This used to be commit 7cc8df0c2f46fb9ce753e368ce645bcb69585334)
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,
},