2010-09-26 21:59:18 +04:00
#!/usr/bin/env python
2011-07-03 11:20:02 +04:00
bld.SAMBA3_LIBRARY('idmap',
2013-09-23 01:03:10 +04:00
source='idmap.c idmap_util.c',
2015-08-13 16:04:14 +03:00
deps='samba-util pdb',
2011-07-03 11:20:02 +04:00
allow_undefined_symbols=True,
private_library=True)
2010-09-26 21:59:18 +04:00
2013-09-23 00:49:22 +04:00
bld.SAMBA3_SUBSYSTEM('IDMAP_RW',
source='idmap_rw.c',
deps='samba-util')
bld.SAMBA3_SUBSYSTEM('IDMAP_TDB_COMMON',
source='idmap_tdb_common.c',
deps='tdb IDMAP_RW')
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('IDMAP_HASH',
2013-09-23 01:03:10 +04:00
source='idmap_hash/idmap_hash.c idmap_hash/mapfile.c',
2015-08-13 16:04:14 +03:00
deps='samba-util krb5samba',
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
2010-11-30 23:44:25 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('IDMAP_AD',
2016-03-29 17:03:04 +03:00
source='idmap_ad.c idmap_ad_nss.c',
2012-06-14 14:55:55 +04:00
deps='ads nss_info',
2015-08-13 16:04:14 +03:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
2010-11-30 23:46:31 +03:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('idmap_ad',
2010-10-07 23:28:04 +04:00
subsystem='idmap',
2012-06-14 14:55:55 +04:00
allow_undefined_symbols=True,
2010-11-30 23:46:31 +03:00
source='',
2015-12-27 18:22:22 +03:00
deps='IDMAP_AD TLDAP LIBNMB',
2010-09-26 21:59:18 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2015-08-13 16:04:14 +03:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
2010-09-26 21:59:18 +04:00
2013-02-21 23:32:37 +04:00
bld.SAMBA3_MODULE('idmap_rfc2307',
subsystem='idmap',
allow_undefined_symbols=True,
2013-09-23 01:03:10 +04:00
source='idmap_rfc2307.c',
2013-02-21 23:32:37 +04:00
init_function='',
deps='ads',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rfc2307'),
2015-08-13 16:04:14 +03:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rfc2307'))
2013-02-21 23:32:37 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('idmap_rid',
2010-10-07 23:28:04 +04:00
subsystem='idmap',
2011-08-31 19:56:51 +04:00
allow_undefined_symbols=True,
2013-09-23 01:03:10 +04:00
source='idmap_rid.c',
2010-09-26 21:59:18 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rid'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rid'))
2010-09-26 21:59:18 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('idmap_passdb',
2010-10-07 23:28:04 +04:00
subsystem='idmap',
2013-09-23 01:03:10 +04:00
source='idmap_passdb.c',
2014-11-25 04:56:45 +03:00
deps='samba-util samba-passdb',
2010-09-26 21:59:18 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_passdb'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_passdb'))
2010-09-26 21:59:18 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('idmap_ldap',
2010-10-07 23:28:04 +04:00
subsystem='idmap',
2013-09-23 01:03:10 +04:00
source='idmap_ldap.c',
2013-09-23 00:49:22 +04:00
deps='smbldap smbldaphelper pdb IDMAP_RW',
2010-09-26 21:59:18 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ldap'),
2013-01-22 14:54:19 +04:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ldap') and bld.CONFIG_SET("HAVE_LDAP"),
2013-09-23 03:55:09 +04:00
allow_undefined_symbols=True)
2010-09-26 21:59:18 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('idmap_nss',
2010-10-07 23:28:04 +04:00
subsystem='idmap',
2013-09-23 01:03:10 +04:00
source='idmap_nss.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-27 01:38:36 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_nss'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_nss'))
2010-09-27 01:38:36 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('idmap_tdb',
2010-10-07 23:28:04 +04:00
subsystem='idmap',
2013-09-23 01:03:10 +04:00
source='idmap_tdb.c',
2013-09-23 00:49:22 +04:00
deps='samba-util tdb IDMAP_TDB_COMMON',
2010-09-27 01:38:36 +04:00
init_function='',
2015-08-13 21:07:59 +03:00
allow_undefined_symbols=True,
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb'))
2010-09-27 01:38:36 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('idmap_tdb2',
2010-10-07 23:28:04 +04:00
subsystem='idmap',
2013-09-23 01:03:10 +04:00
source='idmap_tdb2.c',
2013-09-23 00:49:22 +04:00
deps='samba-util tdb IDMAP_TDB_COMMON',
2010-09-26 21:59:18 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb2'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb2'))
2010-09-26 21:59:18 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('idmap_hash',
2010-10-07 23:28:04 +04:00
subsystem='idmap',
2010-11-30 23:44:25 +03:00
source='',
deps='IDMAP_HASH',
2011-08-31 14:45:10 +04:00
allow_undefined_symbols=True,
2010-09-26 21:59:18 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
2010-09-26 21:59:18 +04:00
2013-08-28 11:49:27 +04:00
bld.SAMBA3_SUBSYSTEM('IDMAP_AUTORID_TDB',
source='idmap_autorid_tdb.c',
deps='tdb')
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('idmap_autorid',
2010-11-08 16:34:51 +03:00
subsystem='idmap',
2013-09-23 01:03:10 +04:00
source='idmap_autorid.c',
2013-08-28 11:49:27 +04:00
deps='samba-util tdb IDMAP_TDB_COMMON IDMAP_AUTORID_TDB',
2010-11-08 16:34:51 +03:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_autorid'),
2011-07-03 11:20:02 +04:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'),
2013-09-22 23:11:40 +04:00
allow_undefined_symbols=True)
2010-11-08 16:34:51 +03:00
2011-08-31 14:43:57 +04:00
bld.SAMBA3_LIBRARY('nss_info',
2013-09-23 01:03:10 +04:00
source='nss_info.c',
2016-11-22 15:47:32 +03:00
deps='samba-util smbconf',
2011-08-31 14:43:57 +04:00
private_library=True)
2010-10-05 13:38:45 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('nss_info_template',
2010-10-07 23:28:04 +04:00
subsystem='nss_info',
2013-09-23 01:03:10 +04:00
source='nss_info_template.c',
2012-05-21 13:45:12 +04:00
deps='samba-util krb5samba',
2010-10-05 13:38:45 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('nss_info_template'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('nss_info_template'))
2010-10-05 13:38:45 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('nss_info_hash',
2010-10-07 23:28:04 +04:00
subsystem='nss_info',
2010-11-30 23:44:25 +03:00
source='',
deps='IDMAP_HASH',
2011-08-31 14:45:10 +04:00
allow_undefined_symbols=True,
2010-10-05 13:38:45 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
2010-10-05 13:38:45 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('nss_info_rfc2307',
2010-10-07 23:28:04 +04:00
subsystem='nss_info',
2010-11-30 23:46:31 +03:00
source='',
deps='IDMAP_AD',
2011-08-31 14:45:10 +04:00
allow_undefined_symbols=True,
2010-10-05 13:38:45 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2015-08-13 16:04:14 +03:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
2010-10-05 13:38:45 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('nss_info_sfu20',
2010-10-07 23:28:04 +04:00
subsystem='nss_info',
2010-11-30 23:46:31 +03:00
source='',
deps='IDMAP_AD',
2011-08-31 14:45:10 +04:00
allow_undefined_symbols=True,
2010-10-05 13:38:45 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2015-08-13 16:04:14 +03:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
2010-10-05 13:38:45 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('nss_info_sfu',
2010-10-07 23:28:04 +04:00
subsystem='nss_info',
2010-11-30 23:46:31 +03:00
source='',
deps='IDMAP_AD',
2011-08-31 14:45:10 +04:00
allow_undefined_symbols=True,
2010-10-05 13:38:45 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2012-09-22 09:27:24 +04:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))
2014-12-24 04:33:34 +03:00
bld.SAMBA3_MODULE('idmap_script',
subsystem='idmap',
allow_undefined_symbols=True,
source='idmap_script.c',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_script'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_script'))
2016-09-27 01:49:45 +03:00
bld.SAMBA3_BINARY('winbindd',
source='''winbindd.c
winbindd_group.c
winbindd_util.c
winbindd_cache.c
winbindd_pam.c
winbindd_misc.c
winbindd_cm.c
winbindd_wins_byip.c
winbindd_wins_byname.c
winbindd_msrpc.c
winbindd_rpc.c
winbindd_reconnect.c
winbindd_reconnect_ads.c
winbindd_ads.c
winbindd_samr.c
winbindd_dual.c
winbindd_dual_ndr.c
winbindd_dual_srv.c
winbindd_async.c
winbindd_creds.c
winbindd_cred_cache.c
winbindd_ccache_access.c
winbindd_domain.c
winbindd_idmap.c
winbindd_locator.c
winbindd_ndr.c
wb_lookupsid.c
wb_lookupsids.c
wb_lookupname.c
wb_sids2xids.c
wb_xids2sids.c
wb_queryuser.c
wb_lookupuseraliases.c
2017-03-02 16:56:09 +03:00
wb_lookupusergroups.c
2016-09-27 01:49:45 +03:00
wb_getpwsid.c
wb_gettoken.c
wb_seqnum.c
wb_seqnums.c
wb_group_members.c
wb_getgrsid.c
wb_query_user_list.c
wb_query_group_list.c
wb_next_pwent.c
wb_next_grent.c
wb_dsgetdcname.c
winbindd_lookupsid.c
winbindd_lookupsids.c
winbindd_lookupname.c
winbindd_sids_to_xids.c
winbindd_xids_to_sids.c
winbindd_allocate_uid.c
winbindd_allocate_gid.c
winbindd_getpwsid.c
winbindd_getpwnam.c
winbindd_getpwuid.c
winbindd_getsidaliases.c
winbindd_getuserdomgroups.c
winbindd_getgroups.c
winbindd_show_sequence.c
winbindd_getgrgid.c
winbindd_getgrnam.c
winbindd_getusersids.c
winbindd_lookuprids.c
winbindd_setpwent.c
winbindd_getpwent.c
winbindd_endpwent.c
winbindd_setgrent.c
winbindd_getgrent.c
winbindd_endgrent.c
winbindd_dsgetdcname.c
winbindd_getdcname.c
winbindd_list_users.c
winbindd_list_groups.c
winbindd_check_machine_acct.c
winbindd_change_machine_acct.c
winbindd_irpc.c
winbindd_ping_dc.c
2018-05-02 21:47:49 +03:00
winbindd_domain_info.c
2016-09-27 01:49:45 +03:00
winbindd_pam_auth.c
winbindd_pam_logoff.c
winbindd_pam_chauthtok.c
winbindd_pam_auth_crap.c
2017-11-21 13:44:12 +03:00
winbindd_pam_chng_pswd_auth_crap.c
winbindd_gpupdate.c''',
2016-09-27 01:49:45 +03:00
deps='''
talloc
tevent
pdb
popt_samba3
idmap
ads
msrpc3
nss_info
LIBAFS
LIBADS_SERVER
LIBCLI_SAMR
SLCACHE
RPC_NDR_DSSETUP
RPC_NDR_WINBIND
SRV_NDR_WINBIND
RPC_SAMR
RPC_LSARPC
RPC_SERVER
WB_REQTRANS
TDB_VALIDATE
MESSAGING
LIBLSA
''',
enabled=bld.env.build_winbind,
install_path='${SBINDIR}')