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',
43 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_sam'),
44 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_sam'))
46 bld
.SAMBA3_MODULE('auth_unix',
51 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_unix'),
52 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_unix'))
54 bld
.SAMBA3_MODULE('auth_winbind',
56 source
=AUTH_WINBIND_SRC
,
59 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_winbind'),
60 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_winbind'))
62 bld
.SAMBA3_MODULE('auth_wbc',
67 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_wbc'),
68 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_wbc'))
70 bld
.SAMBA3_MODULE('auth_domain',
72 source
=AUTH_DOMAIN_SRC
,
73 deps
='RPC_CLIENT_SCHANNEL trusts_util',
75 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_domain'),
76 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_domain'))
78 bld
.SAMBA3_MODULE('auth_builtin',
80 source
=AUTH_BUILTIN_SRC
,
83 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_builtin'),
84 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_builtin'))
86 bld
.SAMBA3_MODULE('auth_script',
88 source
=AUTH_SCRIPT_SRC
,
90 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_script'),
91 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_script'))
93 bld
.SAMBA3_MODULE('auth_samba4',
95 source
='auth_samba4.c',
97 deps
='auth4 samba_server_gensec gensec',
98 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_samba4') and bld
.AD_DC_BUILD_IS_ENABLED(),
99 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_samba4') and bld
.AD_DC_BUILD_IS_ENABLED())