diff options
author | Tim Potter <tpot@samba.org> | 2005-09-01 07:37:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:36:19 -0500 |
commit | 4d0ec61e49b459b61fa45304e1ab434e7d337fc0 (patch) | |
tree | 843dd1f12a2a53c264119e1613d4c3f74063ad9d /source4/lib/ldb/modules | |
parent | 7a3e0a89f11f11527bc5e35310185efd210fa9ce (diff) | |
download | samba-4d0ec61e49b459b61fa45304e1ab434e7d337fc0.tar.gz samba-4d0ec61e49b459b61fa45304e1ab434e7d337fc0.tar.bz2 samba-4d0ec61e49b459b61fa45304e1ab434e7d337fc0.zip |
r9880: Convert remaining initialisers to more portable form. This should
clean out a lot of build farm breakage.
(This used to be commit c34fbdc6c3fd2c066c713bdd84e6f40f6aa8cd43)
Diffstat (limited to 'source4/lib/ldb/modules')
-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, |