1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00
samba-mirror/libcli/auth/wscript_build
Andrew Bartlett 5edcaece41 CVE-2018-1139 libcli/auth: Add initial tests for ntlm_password_check()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13360

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2018-08-14 13:57:15 +02:00

57 lines
1.4 KiB
Python

#!/usr/bin/env python
bld.SAMBA_LIBRARY('cliauth',
source='',
deps='MSRPC_PARSE LIBCLI_AUTH COMMON_SCHANNEL PAM_ERRORS SPNEGO_PARSE krb5samba samba-errors NTLM_CHECK UTIL_LSARPC',
private_library=True,
grouping_library=True)
bld.SAMBA_SUBSYSTEM('MSRPC_PARSE',
source='msrpc_parse.c',
deps='talloc'
)
bld.SAMBA_SUBSYSTEM('NTLM_CHECK',
source='ntlm_check.c',
deps = 'talloc'
)
bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH',
source='credentials.c session.c smbencrypt.c smbdes.c',
public_deps='MSRPC_PARSE',
public_headers='credentials.h:domain_credentials.h'
)
bld.SAMBA_SUBSYSTEM('COMMON_SCHANNEL',
source='schannel_state_tdb.c',
deps='dbwrap util_tdb samba-hostconfig NDR_NETLOGON'
)
bld.SAMBA_SUBSYSTEM('NETLOGON_CREDS_CLI',
source='netlogon_creds_cli.c',
deps='dbwrap util_tdb tevent-util samba-hostconfig RPC_NDR_NETLOGON NDR_NETLOGON'
)
bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
source='pam_errors.c',
deps='talloc'
)
bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE',
source='spnego_parse.c',
deps='asn1util')
bld.SAMBA_BINARY(
'test_ntlm_check',
source='tests/ntlm_check.c',
deps='''
NTLM_CHECK
CREDENTIALS_NTLM
samba-credentials
cmocka
talloc
''',
install=False
)