3 AUTH_BUILTIN_SRC
= 'auth_builtin.c'
4 AUTH_DOMAIN_SRC
= 'auth_domain.c'
5 AUTH_SAM_SRC
= 'auth_sam.c check_samsec.c'
6 AUTH_SERVER_SRC
= 'auth_server.c'
7 AUTH_UNIX_SRC
= 'auth_unix.c'
8 AUTH_WINBIND_SRC
= 'auth_winbind.c'
9 AUTH_WBC_SRC
= 'auth_wbc.c'
10 AUTH_SCRIPT_SRC
= 'auth_script.c'
11 AUTH_NETLOGOND_SRC
= 'auth_netlogond.c'
13 AUTH_SRC
= '''auth.c auth_util.c
19 auth_compat.c auth_ntlmssp.c'''
21 bld
.SAMBA_SUBSYSTEM('TOKEN_UTIL',
22 source
='token_util.c',
25 bld
.SAMBA_SUBSYSTEM('auth',
27 deps
='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL''',
30 bld
.SAMBA_MODULE('auth_sam',
34 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_sam'),
35 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_sam'))
37 bld
.SAMBA_MODULE('auth_unix',
41 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_unix'),
42 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_unix'))
44 bld
.SAMBA_MODULE('auth_winbind',
46 source
=AUTH_WINBIND_SRC
,
48 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_winbind'),
49 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_winbind'))
51 bld
.SAMBA_MODULE('auth_wbc',
55 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_wbc'),
56 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_wbc'))
58 bld
.SAMBA_MODULE('auth_server',
60 source
=AUTH_SERVER_SRC
,
62 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_server'),
63 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_server'))
65 bld
.SAMBA_MODULE('auth_domain',
67 source
=AUTH_DOMAIN_SRC
,
68 deps
='RPC_CLIENT_SCHANNEL',
70 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_domain'),
71 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_domain'))
73 bld
.SAMBA_MODULE('auth_builtin',
75 source
=AUTH_BUILTIN_SRC
,
77 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_builtin'),
78 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_builtin'))
80 bld
.SAMBA_MODULE('auth_netlogond',
82 source
=AUTH_NETLOGOND_SRC
,
84 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_netlogond'),
85 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_netlogond'))
87 bld
.SAMBA_MODULE('auth_script',
89 source
=AUTH_SCRIPT_SRC
,
91 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_script'),
92 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_script'))