3 bld
.SAMBA3_LIBRARY('idmap',
4 source
='idmap.c idmap_util.c',
6 allow_undefined_symbols
=True,
9 bld
.SAMBA3_SUBSYSTEM('IDMAP_RW',
13 bld
.SAMBA3_SUBSYSTEM('IDMAP_TDB_COMMON',
14 source
='idmap_tdb_common.c',
17 bld
.SAMBA3_SUBSYSTEM('IDMAP_HASH',
18 source
='idmap_hash/idmap_hash.c idmap_hash/mapfile.c',
19 deps
='samba-util krb5samba')
21 bld
.SAMBA3_SUBSYSTEM('IDMAP_AD',
24 enabled
=bld
.CONFIG_SET("HAVE_LDAP"))
26 bld
.SAMBA3_MODULE('idmap_ad',
28 allow_undefined_symbols
=True,
32 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
33 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld
.CONFIG_SET("HAVE_LDAP"))
35 bld
.SAMBA3_MODULE('idmap_rfc2307',
37 allow_undefined_symbols
=True,
38 source
='idmap_rfc2307.c',
41 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_rfc2307'),
42 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_rfc2307') and bld
.CONFIG_SET("HAVE_LDAP"))
44 bld
.SAMBA3_MODULE('idmap_rid',
46 allow_undefined_symbols
=True,
49 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_rid'),
50 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_rid'))
52 bld
.SAMBA3_MODULE('idmap_passdb',
54 source
='idmap_passdb.c',
55 deps
='samba-util pdb',
57 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_passdb'),
58 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_passdb'))
60 bld
.SAMBA3_MODULE('idmap_ldap',
62 source
='idmap_ldap.c',
63 deps
='smbldap smbldaphelper pdb IDMAP_RW',
65 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ldap'),
66 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ldap') and bld
.CONFIG_SET("HAVE_LDAP"),
67 allow_undefined_symbols
=True)
69 bld
.SAMBA3_MODULE('idmap_nss',
74 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_nss'),
75 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_nss'))
77 bld
.SAMBA3_MODULE('idmap_tdb',
80 deps
='samba-util tdb IDMAP_TDB_COMMON',
82 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_tdb'),
83 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_tdb'))
85 bld
.SAMBA3_MODULE('idmap_tdb2',
87 source
='idmap_tdb2.c',
88 deps
='samba-util tdb IDMAP_TDB_COMMON',
90 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_tdb2'),
91 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_tdb2'))
93 bld
.SAMBA3_MODULE('idmap_hash',
97 allow_undefined_symbols
=True,
99 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
100 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
102 bld
.SAMBA3_SUBSYSTEM('IDMAP_AUTORID_TDB',
103 source
='idmap_autorid_tdb.c',
106 bld
.SAMBA3_MODULE('idmap_autorid',
108 source
='idmap_autorid.c',
109 deps
='samba-util tdb IDMAP_TDB_COMMON IDMAP_AUTORID_TDB',
111 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_autorid'),
112 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'),
113 allow_undefined_symbols
=True)
115 bld
.SAMBA3_LIBRARY('nss_info',
117 deps
='samba-util param',
118 private_library
=True)
120 bld
.SAMBA3_MODULE('nss_info_template',
121 subsystem
='nss_info',
122 source
='nss_info_template.c',
123 deps
='samba-util krb5samba',
125 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('nss_info_template'),
126 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('nss_info_template'))
128 bld
.SAMBA3_MODULE('nss_info_hash',
129 subsystem
='nss_info',
132 allow_undefined_symbols
=True,
134 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
135 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
137 bld
.SAMBA3_MODULE('nss_info_rfc2307',
138 subsystem
='nss_info',
141 allow_undefined_symbols
=True,
143 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
144 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld
.CONFIG_SET("HAVE_LDAP"))
146 bld
.SAMBA3_MODULE('nss_info_sfu20',
147 subsystem
='nss_info',
150 allow_undefined_symbols
=True,
152 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
153 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld
.CONFIG_SET("HAVE_LDAP"))
155 bld
.SAMBA3_MODULE('nss_info_sfu',
156 subsystem
='nss_info',
159 allow_undefined_symbols
=True,
161 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
162 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld
.CONFIG_SET("HAVE_LDAP"))