3 AUTH_BUILTIN_SRC
= 'auth_builtin.c'
4 AUTH_DOMAIN_SRC
= 'auth_domain.c'
5 AUTH_SAM_SRC
= 'auth_sam.c'
6 AUTH_UNIX_SRC
= 'auth_unix.c'
7 AUTH_WINBIND_SRC
= 'auth_winbind.c'
8 AUTH_WBC_SRC
= 'auth_wbc.c'
9 AUTH_SCRIPT_SRC
= 'auth_script.c'
13 auth_ntlmssp.c auth_generic.c'''
15 bld
.SAMBA3_SUBSYSTEM('TOKEN_UTIL',
16 source
='token_util.c',
17 deps
='samba-util pdb',
20 bld
.SAMBA3_SUBSYSTEM('USER_UTIL',
24 bld
.SAMBA3_SUBSYSTEM('AUTH_COMMON',
30 deps
='TOKEN_UTIL DCUTIL USER_UTIL',
33 bld
.SAMBA3_LIBRARY('auth',
35 deps
='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL AUTH_COMMON libcli_netlogon3 samba-hostconfig''',
38 bld
.SAMBA3_MODULE('auth_sam',
45 bld
.SAMBA3_MODULE('auth_unix',
50 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_unix'),
51 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_unix'))
53 bld
.SAMBA3_MODULE('auth_winbind',
55 source
=AUTH_WINBIND_SRC
,
60 bld
.SAMBA3_MODULE('auth_wbc',
65 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_wbc'),
66 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_wbc'))
68 bld
.SAMBA3_MODULE('auth_domain',
70 source
=AUTH_DOMAIN_SRC
,
71 deps
='RPC_CLIENT_SCHANNEL trusts_util',
75 bld
.SAMBA3_MODULE('auth_builtin',
77 source
=AUTH_BUILTIN_SRC
,
82 bld
.SAMBA3_MODULE('auth_script',
84 source
=AUTH_SCRIPT_SRC
,
86 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_script'),
87 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_script'))
89 bld
.SAMBA3_MODULE('auth_samba4',
91 source
='auth_samba4.c',
93 deps
='auth4 samba_server_gensec gensec',
94 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_samba4') and bld
.AD_DC_BUILD_IS_ENABLED(),
95 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_samba4') and bld
.AD_DC_BUILD_IS_ENABLED())