| 1 |
#!/usr/bin/env python |
| 2 |
|
| 3 |
bld.SAMBA3_SUBSYSTEM('TOKEN_UTIL', |
| 4 |
source='token_util.c', |
| 5 |
deps='samba-util pdb') |
| 6 |
|
| 7 |
bld.SAMBA3_SUBSYSTEM('USER_UTIL', |
| 8 |
source='user_util.c', |
| 9 |
deps='TOKEN_UTIL') |
| 10 |
|
| 11 |
bld.SAMBA3_SUBSYSTEM('AUTH_COMMON', |
| 12 |
source='''auth_util.c |
| 13 |
check_samsec.c |
| 14 |
server_info.c |
| 15 |
server_info_sam.c |
| 16 |
user_info.c''', |
| 17 |
deps='TOKEN_UTIL DCUTIL USER_UTIL common_auth') |
| 18 |
|
| 19 |
bld.SAMBA3_LIBRARY('auth', |
| 20 |
source='''auth.c |
| 21 |
user_krb5.c |
| 22 |
auth_ntlmssp.c |
| 23 |
auth_generic.c''', |
| 24 |
deps='''PLAINTEXT_AUTH SLCACHE DCUTIL TOKEN_UTIL AUTH_COMMON libcli_netlogon3 samba-hostconfig MESSAGING''', |
| 25 |
private_library=True) |
| 26 |
|
| 27 |
bld.SAMBA3_MODULE('auth_sam', |
| 28 |
subsystem='auth', |
| 29 |
source='auth_sam.c', |
| 30 |
deps='samba-util', |
| 31 |
init_function='', |
| 32 |
internal_module=True) |
| 33 |
|
| 34 |
bld.SAMBA3_MODULE('auth_unix', |
| 35 |
subsystem='auth', |
| 36 |
source='auth_unix.c', |
| 37 |
deps='samba-util', |
| 38 |
init_function='', |
| 39 |
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_unix'), |
| 40 |
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_unix')) |
| 41 |
|
| 42 |
bld.SAMBA3_MODULE('auth_winbind', |
| 43 |
subsystem='auth', |
| 44 |
source='auth_winbind.c', |
| 45 |
deps='samba-util', |
| 46 |
init_function='', |
| 47 |
internal_module=True) |
| 48 |
|
| 49 |
bld.SAMBA3_MODULE('auth_builtin', |
| 50 |
subsystem='auth', |
| 51 |
source='auth_builtin.c', |
| 52 |
deps='samba-util', |
| 53 |
init_function='', |
| 54 |
internal_module=True) |
| 55 |
|
| 56 |
bld.SAMBA3_MODULE('auth_samba4', |
| 57 |
subsystem='auth', |
| 58 |
source='auth_samba4.c', |
| 59 |
init_function='', |
| 60 |
deps='auth4 samba_server_gensec gensec', |
| 61 |
internal_module=bld.SAMBA3_IS_STATIC_MODULE('auth_samba4') and bld.AD_DC_BUILD_IS_ENABLED(), |
| 62 |
enabled=bld.SAMBA3_IS_ENABLED_MODULE('auth_samba4') and bld.AD_DC_BUILD_IS_ENABLED()) |