Maintain a back-pointer to the fsp in struct smb_Dir when opening with FDOPENDIR.
[Samba.git] / source3 / auth / wscript_build
blob8bf2051526140f1507feed6b40a8b8444035ae22
1 #!/usr/bin/env python
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'
13 AUTH_SRC = '''auth.c
14 user_krb5.c
15 auth_compat.c auth_ntlmssp.c'''
17 bld.SAMBA3_SUBSYSTEM('TOKEN_UTIL',
18 source='token_util.c',
19 vars=locals())
21 bld.SAMBA3_SUBSYSTEM('AUTH_COMMON',
22 source='''auth_util.c
23 user_util.c
24 check_samsec.c
25 server_info.c
26 server_info_sam.c
27 user_info.c
28 user_util.c''',
29 vars=locals())
31 bld.SAMBA3_SUBSYSTEM('auth',
32 source=AUTH_SRC,
33 deps='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL AUTH_COMMON''',
34 vars=locals())
36 bld.SAMBA3_MODULE('auth_sam',
37 subsystem='auth',
38 source=AUTH_SAM_SRC,
39 init_function='',
40 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_sam'),
41 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_sam'))
43 bld.SAMBA3_MODULE('auth_unix',
44 subsystem='auth',
45 source=AUTH_UNIX_SRC,
46 init_function='',
47 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_unix'),
48 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_unix'))
50 bld.SAMBA3_MODULE('auth_winbind',
51 subsystem='auth',
52 source=AUTH_WINBIND_SRC,
53 init_function='',
54 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_winbind'),
55 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_winbind'))
57 bld.SAMBA3_MODULE('auth_wbc',
58 subsystem='auth',
59 source=AUTH_WBC_SRC,
60 init_function='',
61 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_wbc'),
62 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_wbc'))
64 bld.SAMBA3_MODULE('auth_server',
65 subsystem='auth',
66 source=AUTH_SERVER_SRC,
67 init_function='',
68 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_server'),
69 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_server'))
71 bld.SAMBA3_MODULE('auth_domain',
72 subsystem='auth',
73 source=AUTH_DOMAIN_SRC,
74 deps='RPC_CLIENT_SCHANNEL',
75 init_function='',
76 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_domain'),
77 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_domain'))
79 bld.SAMBA3_MODULE('auth_builtin',
80 subsystem='auth',
81 source=AUTH_BUILTIN_SRC,
82 init_function='',
83 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_builtin'),
84 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_builtin'))
86 bld.SAMBA3_MODULE('auth_netlogond',
87 subsystem='auth',
88 source=AUTH_NETLOGOND_SRC,
89 init_function='',
90 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_netlogond'),
91 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_netlogond'))
93 bld.SAMBA3_MODULE('auth_script',
94 subsystem='auth',
95 source=AUTH_SCRIPT_SRC,
96 init_function='',
97 internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_script'),
98 enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_script'))