2010-09-26 19:59:18 +02:00
#!/usr/bin/env python
2011-07-03 09:20:02 +02:00
bld.SAMBA3_LIBRARY('idmap',
2013-09-22 23:03:10 +02:00
source='idmap.c idmap_util.c',
2015-08-13 15:04:14 +02:00
deps='samba-util pdb',
2011-07-03 09:20:02 +02:00
allow_undefined_symbols=True,
private_library=True)
2010-09-26 19:59:18 +02:00
2013-09-22 22:49:22 +02: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 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('IDMAP_HASH',
2013-09-22 23:03:10 +02:00
source='idmap_hash/idmap_hash.c idmap_hash/mapfile.c',
2015-08-13 15:04:14 +02:00
deps='samba-util krb5samba',
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
2010-11-30 21:44:25 +01:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('IDMAP_AD',
2016-03-29 16:03:04 +02:00
source='idmap_ad.c idmap_ad_nss.c',
2012-06-14 12:55:55 +02:00
deps='ads nss_info',
2015-08-13 15:04:14 +02:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
2010-11-30 21:46:31 +01:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_ad',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2012-06-14 12:55:55 +02:00
allow_undefined_symbols=True,
2010-11-30 21:46:31 +01:00
source='',
2015-12-27 16:22:22 +01:00
deps='IDMAP_AD TLDAP LIBNMB',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2015-08-13 15:04:14 +02:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
2010-09-26 19:59:18 +02:00
2013-02-21 12:32:37 -07:00
bld.SAMBA3_MODULE('idmap_rfc2307',
subsystem='idmap',
allow_undefined_symbols=True,
2013-09-22 23:03:10 +02:00
source='idmap_rfc2307.c',
2013-02-21 12:32:37 -07:00
init_function='',
deps='ads',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rfc2307'),
2015-08-13 15:04:14 +02:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rfc2307'))
2013-02-21 12:32:37 -07:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_rid',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2011-08-31 17:56:51 +02:00
allow_undefined_symbols=True,
2013-09-22 23:03:10 +02:00
source='idmap_rid.c',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_rid'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_rid'))
2010-09-26 19:59:18 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_passdb',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_passdb.c',
2014-11-25 14:56:45 +13:00
deps='samba-util samba-passdb',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_passdb'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_passdb'))
2010-09-26 19:59:18 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_ldap',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_ldap.c',
2013-09-22 22:49:22 +02:00
deps='smbldap smbldaphelper pdb IDMAP_RW',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ldap'),
2013-01-22 11:54:19 +01:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ldap') and bld.CONFIG_SET("HAVE_LDAP"),
2013-09-23 01:55:09 +02:00
allow_undefined_symbols=True)
2010-09-26 19:59:18 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_nss',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_nss.c',
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 23:38:36 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_nss'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_nss'))
2010-09-26 23:38:36 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_tdb',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_tdb.c',
2013-09-22 22:49:22 +02:00
deps='samba-util tdb IDMAP_TDB_COMMON',
2010-09-26 23:38:36 +02:00
init_function='',
2015-08-13 20:07:59 +02:00
allow_undefined_symbols=True,
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb'))
2010-09-26 23:38:36 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_tdb2',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_tdb2.c',
2013-09-22 22:49:22 +02:00
deps='samba-util tdb IDMAP_TDB_COMMON',
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_tdb2'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_tdb2'))
2010-09-26 19:59:18 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_hash',
2010-10-07 21:28:04 +02:00
subsystem='idmap',
2010-11-30 21:44:25 +01:00
source='',
deps='IDMAP_HASH',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-09-26 19:59:18 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
2010-09-26 19:59:18 +02:00
2013-08-28 13:19:27 +05:30
bld.SAMBA3_SUBSYSTEM('IDMAP_AUTORID_TDB',
source='idmap_autorid_tdb.c',
deps='tdb')
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('idmap_autorid',
2010-11-08 14:34:51 +01:00
subsystem='idmap',
2013-09-22 23:03:10 +02:00
source='idmap_autorid.c',
2013-08-28 13:19:27 +05:30
deps='samba-util tdb IDMAP_TDB_COMMON IDMAP_AUTORID_TDB',
2010-11-08 14:34:51 +01:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_autorid'),
2011-07-03 09:20:02 +02:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_autorid'),
2013-09-22 21:11:40 +02:00
allow_undefined_symbols=True)
2010-11-08 14:34:51 +01:00
2011-08-31 12:43:57 +02:00
bld.SAMBA3_LIBRARY('nss_info',
2013-09-22 23:03:10 +02:00
source='nss_info.c',
2016-11-22 13:47:32 +01:00
deps='samba-util smbconf',
2011-08-31 12:43:57 +02:00
private_library=True)
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_template',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2013-09-22 23:03:10 +02:00
source='nss_info_template.c',
2012-05-21 12:45:12 +03:00
deps='samba-util krb5samba',
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('nss_info_template'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('nss_info_template'))
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_hash',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2010-11-30 21:44:25 +01:00
source='',
deps='IDMAP_HASH',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_hash'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_hash'))
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_rfc2307',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2010-11-30 21:46:31 +01:00
source='',
deps='IDMAP_AD',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2015-08-13 15:04:14 +02:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_sfu20',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2010-11-30 21:46:31 +01:00
source='',
deps='IDMAP_AD',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2015-08-13 15:04:14 +02:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad'))
2010-10-05 11:38:45 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('nss_info_sfu',
2010-10-07 21:28:04 +02:00
subsystem='nss_info',
2010-11-30 21:46:31 +01:00
source='',
deps='IDMAP_AD',
2011-08-31 12:45:10 +02:00
allow_undefined_symbols=True,
2010-10-05 11:38:45 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ad'),
2012-09-21 22:27:24 -07:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ad') and bld.CONFIG_SET("HAVE_LDAP"))
2014-12-23 17:33:34 -08: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 00:49:45 +02: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 14:56:09 +01:00
wb_lookupusergroups.c
2016-09-27 00:49:45 +02: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 20:47:49 +02:00
winbindd_domain_info.c
2016-09-27 00:49:45 +02:00
winbindd_pam_auth.c
winbindd_pam_logoff.c
winbindd_pam_chauthtok.c
winbindd_pam_auth_crap.c
2017-11-21 03:44:12 -07:00
winbindd_pam_chng_pswd_auth_crap.c
winbindd_gpupdate.c''',
2016-09-27 00:49:45 +02: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}')