2010-09-26 19:43:43 +02:00
#!/usr/bin/env python
2011-02-09 15:56:20 +11:00
bld.SAMBA3_SUBSYSTEM('TOKEN_UTIL',
2010-11-30 16:16:22 +01:00
source='token_util.c',
2013-09-24 05:07:08 +02:00
deps='samba-util pdb')
2010-11-30 16:16:22 +01:00
2011-05-25 14:55:08 +10:00
bld.SAMBA3_SUBSYSTEM('USER_UTIL',
source='user_util.c',
2021-04-20 17:59:34 +02:00
deps='TOKEN_UTIL')
2011-05-25 14:55:08 +10:00
2011-02-23 00:31:35 +01:00
bld.SAMBA3_SUBSYSTEM('AUTH_COMMON',
source='''auth_util.c
check_samsec.c
server_info.c
server_info_sam.c
2011-05-25 14:55:08 +10:00
user_info.c''',
2018-08-30 16:33:25 +02:00
deps='TOKEN_UTIL DCUTIL USER_UTIL common_auth')
2011-02-23 00:31:35 +01:00
2011-07-03 09:20:02 +02:00
bld.SAMBA3_LIBRARY('auth',
2013-09-24 05:06:22 +02:00
source='''auth.c
user_krb5.c
auth_ntlmssp.c
auth_generic.c''',
2019-01-28 15:30:23 +13:00
deps='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL AUTH_COMMON libcli_netlogon3 samba-hostconfig MESSAGING''',
2011-07-03 09:20:02 +02:00
private_library=True)
2010-09-26 19:43:43 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('auth_sam',
2010-10-07 21:28:04 +02:00
subsystem='auth',
2013-09-24 05:06:22 +02:00
source='auth_sam.c',
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 19:43:43 +02:00
init_function='',
2012-10-17 16:30:57 +02:00
internal_module=True)
2010-09-26 19:43:43 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('auth_unix',
2010-10-07 21:28:04 +02:00
subsystem='auth',
2013-09-24 05:06:22 +02:00
source='auth_unix.c',
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 19:43:43 +02:00
init_function='',
2010-12-01 12:10:03 +01:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_unix'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_unix'))
2010-09-26 19:43:43 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('auth_winbind',
2010-10-07 21:28:04 +02:00
subsystem='auth',
2013-09-24 05:06:22 +02:00
source='auth_winbind.c',
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 19:43:43 +02:00
init_function='',
2012-10-17 16:30:57 +02:00
internal_module=True)
2010-09-26 19:43:43 +02:00
2011-02-09 15:56:20 +11:00
bld.SAMBA3_MODULE('auth_builtin',
2010-10-07 21:28:04 +02:00
subsystem='auth',
2013-09-24 05:06:22 +02:00
source='auth_builtin.c',
2011-06-20 20:36:46 +10:00
deps='samba-util',
2010-09-26 19:43:43 +02:00
init_function='',
2012-10-17 16:30:57 +02:00
internal_module=True)
2010-09-26 19:43:43 +02:00
2011-05-08 14:48:11 +02:00
bld.SAMBA3_MODULE('auth_samba4',
subsystem='auth',
source='auth_samba4.c',
init_function='',
2011-07-21 14:48:59 +10:00
deps='auth4 samba_server_gensec gensec',
2012-05-21 12:45:12 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_samba4') and bld.AD_DC_BUILD_IS_ENABLED())