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',
20 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
22 bld
.SAMBA3_SUBSYSTEM('IDMAP_AD',
23 source
='idmap_ad.c idmap_ad_nss.c',
25 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
27 bld
.SAMBA3_MODULE('idmap_ad',
29 allow_undefined_symbols
=True,
31 deps
='IDMAP_AD TLDAP LIBNMB',
33 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
34 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
36 bld
.SAMBA3_MODULE('idmap_rfc2307',
38 allow_undefined_symbols
=True,
39 source
='idmap_rfc2307.c',
42 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_rfc2307'),
43 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_rfc2307'))
45 bld
.SAMBA3_MODULE('idmap_rid',
47 allow_undefined_symbols
=True,
50 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_rid'),
51 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_rid'))
53 bld
.SAMBA3_MODULE('idmap_passdb',
55 source
='idmap_passdb.c',
56 deps
='samba-util samba-passdb',
58 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_passdb'),
59 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_passdb'))
61 bld
.SAMBA3_MODULE('idmap_ldap',
63 source
='idmap_ldap.c',
64 deps
='smbldap smbldaphelper pdb IDMAP_RW',
66 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ldap'),
67 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ldap') and bld
.CONFIG_SET("HAVE_LDAP"),
68 allow_undefined_symbols
=True)
70 bld
.SAMBA3_MODULE('idmap_nss',
75 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_nss'),
76 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_nss'))
78 bld
.SAMBA3_MODULE('idmap_tdb',
81 deps
='samba-util tdb IDMAP_TDB_COMMON',
83 allow_undefined_symbols
=True,
84 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_tdb'),
85 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_tdb'))
87 bld
.SAMBA3_MODULE('idmap_tdb2',
89 source
='idmap_tdb2.c',
90 deps
='samba-util tdb IDMAP_TDB_COMMON',
92 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_tdb2'),
93 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_tdb2'))
95 bld
.SAMBA3_MODULE('idmap_hash',
99 allow_undefined_symbols
=True,
101 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
102 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
104 bld
.SAMBA3_SUBSYSTEM('IDMAP_AUTORID_TDB',
105 source
='idmap_autorid_tdb.c',
108 bld
.SAMBA3_MODULE('idmap_autorid',
110 source
='idmap_autorid.c',
111 deps
='samba-util tdb IDMAP_TDB_COMMON IDMAP_AUTORID_TDB',
113 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_autorid'),
114 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'),
115 allow_undefined_symbols
=True)
117 bld
.SAMBA3_LIBRARY('nss_info',
119 deps
='samba-util smbconf',
120 private_library
=True)
122 bld
.SAMBA3_MODULE('nss_info_template',
123 subsystem
='nss_info',
124 source
='nss_info_template.c',
125 deps
='samba-util krb5samba',
127 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('nss_info_template'),
128 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('nss_info_template'))
130 bld
.SAMBA3_MODULE('nss_info_hash',
131 subsystem
='nss_info',
134 allow_undefined_symbols
=True,
136 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
137 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
139 bld
.SAMBA3_MODULE('nss_info_rfc2307',
140 subsystem
='nss_info',
143 allow_undefined_symbols
=True,
145 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
146 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
148 bld
.SAMBA3_MODULE('nss_info_sfu20',
149 subsystem
='nss_info',
152 allow_undefined_symbols
=True,
154 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
155 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
157 bld
.SAMBA3_MODULE('nss_info_sfu',
158 subsystem
='nss_info',
161 allow_undefined_symbols
=True,
163 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
164 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld
.CONFIG_SET("HAVE_LDAP"))
166 bld
.SAMBA3_MODULE('idmap_script',
168 allow_undefined_symbols
=True,
169 source
='idmap_script.c',
171 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('idmap_script'),
172 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('idmap_script'))
174 bld
.SAMBA3_BINARY('winbindd',
183 winbindd_wins_byname.c
187 winbindd_reconnect_ads.c
195 winbindd_cred_cache.c
196 winbindd_ccache_access.c
208 wb_lookupuseraliases.c
209 wb_lookupusergroups.c
217 wb_query_group_list.c
222 winbindd_lookupsids.c
223 winbindd_lookupname.c
224 winbindd_sids_to_xids.c
225 winbindd_xids_to_sids.c
226 winbindd_allocate_uid.c
227 winbindd_allocate_gid.c
231 winbindd_getsidaliases.c
232 winbindd_getuserdomgroups.c
234 winbindd_show_sequence.c
237 winbindd_getusersids.c
238 winbindd_lookuprids.c
245 winbindd_dsgetdcname.c
247 winbindd_list_users.c
248 winbindd_list_groups.c
249 winbindd_check_machine_acct.c
250 winbindd_change_machine_acct.c
254 winbindd_pam_logoff.c
255 winbindd_pam_chauthtok.c
256 winbindd_pam_auth_crap.c
257 winbindd_pam_chng_pswd_auth_crap.c''',
282 enabled
=bld
.env
.build_winbind
,
283 install_path
='${SBINDIR}')