3 AUTH_BUILTIN_SRC
= 'auth_builtin.c'
4 AUTH_DOMAIN_SRC
= 'auth_domain.c'
5 AUTH_SAM_SRC
= 'auth_sam.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'
15 auth_ntlmssp.c auth_generic.c'''
17 bld
.SAMBA3_SUBSYSTEM('TOKEN_UTIL',
18 source
='token_util.c',
19 deps
='samba-util pdb',
22 bld
.SAMBA3_SUBSYSTEM('USER_UTIL',
26 bld
.SAMBA3_SUBSYSTEM('AUTH_COMMON',
32 deps
='TOKEN_UTIL DCUTIL USER_UTIL',
35 bld
.SAMBA3_LIBRARY('auth',
37 deps
='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL AUTH_COMMON libcli_netlogon3 samba-hostconfig''',
40 bld
.SAMBA3_MODULE('auth_sam',
45 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_sam'),
46 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_sam'))
48 bld
.SAMBA3_MODULE('auth_unix',
53 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_unix'),
54 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_unix'))
56 bld
.SAMBA3_MODULE('auth_winbind',
58 source
=AUTH_WINBIND_SRC
,
61 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_winbind'),
62 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_winbind'))
64 bld
.SAMBA3_MODULE('auth_wbc',
69 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_wbc'),
70 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_wbc'))
72 bld
.SAMBA3_MODULE('auth_server',
74 source
=AUTH_SERVER_SRC
,
77 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_server'),
78 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_server'))
80 bld
.SAMBA3_MODULE('auth_domain',
82 source
=AUTH_DOMAIN_SRC
,
83 deps
='RPC_CLIENT_SCHANNEL trusts_util',
85 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_domain'),
86 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_domain'))
88 bld
.SAMBA3_MODULE('auth_builtin',
90 source
=AUTH_BUILTIN_SRC
,
93 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_builtin'),
94 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_builtin'))
96 bld
.SAMBA3_MODULE('auth_netlogond',
98 source
=AUTH_NETLOGOND_SRC
,
101 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_netlogond'),
102 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_netlogond'))
104 bld
.SAMBA3_MODULE('auth_script',
106 source
=AUTH_SCRIPT_SRC
,
108 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_script'),
109 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_script'))
111 bld
.SAMBA3_MODULE('auth_samba4',
113 source
='auth_samba4.c',
115 deps
='auth4 samba_server_gensec gensec',
116 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_samba4'),
117 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_samba4'))