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_compat.c auth_ntlmssp.c'''
17 bld
.SAMBA3_SUBSYSTEM('TOKEN_UTIL',
18 source
='token_util.c',
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
,
100 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_netlogond'),
101 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_netlogond'))
103 bld
.SAMBA3_MODULE('auth_script',
105 source
=AUTH_SCRIPT_SRC
,
107 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_script'),
108 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_script'))
110 bld
.SAMBA3_MODULE('auth_samba4',
112 source
='auth_samba4.c',
114 deps
='auth4 samba_server_gensec gensec',
115 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('auth_samba4'),
116 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('auth_samba4'))