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