2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2011-02-24 02:28:43 +03:00
bld.SAMBA_LIBRARY('cliauth',
source='',
2016-01-04 04:01:53 +03:00
deps='MSRPC_PARSE LIBCLI_AUTH COMMON_SCHANNEL PAM_ERRORS SPNEGO_PARSE krb5samba samba-errors NTLM_CHECK UTIL_LSARPC',
2011-02-24 02:28:43 +03:00
private_library=True,
grouping_library=True)
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('MSRPC_PARSE',
2010-03-28 10:46:25 +04:00
source='msrpc_parse.c',
2010-10-11 00:56:38 +04:00
deps='talloc'
2010-03-17 14:07:42 +03:00
)
2011-07-25 10:04:38 +04:00
bld.SAMBA_SUBSYSTEM('NTLM_CHECK',
source='ntlm_check.c',
2019-10-19 23:48:19 +03:00
deps = 'talloc LIBCLI_AUTH'
2011-07-25 10:04:38 +04:00
)
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH',
source='credentials.c session.c smbencrypt.c smbdes.c',
2020-09-16 17:17:29 +03:00
public_deps='MSRPC_PARSE gnutls GNUTLS_HELPERS util_str_escape',
2010-03-27 05:56:05 +03:00
public_headers='credentials.h:domain_credentials.h'
2010-03-17 14:07:42 +03:00
)
2011-02-24 02:36:55 +03:00
bld.SAMBA_SUBSYSTEM('COMMON_SCHANNEL',
2013-12-31 12:42:36 +04:00
source='schannel_state_tdb.c',
2013-04-11 11:42:12 +04:00
deps='dbwrap util_tdb samba-hostconfig NDR_NETLOGON'
2010-03-17 14:07:42 +03:00
)
2013-04-18 21:16:42 +04:00
bld.SAMBA_SUBSYSTEM('NETLOGON_CREDS_CLI',
source='netlogon_creds_cli.c',
2021-04-02 14:41:21 +03:00
deps='''
dbwrap
util_tdb
tevent-util
samba-hostconfig
gensec
RPC_NDR_NETLOGON
NDR_NETLOGON
'''
2013-04-18 21:16:42 +04:00
)
2011-02-08 12:45:39 +03:00
bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
2011-02-12 00:59:31 +03:00
source='pam_errors.c',
deps='talloc'
2011-02-08 12:45:39 +03:00
)
2011-02-24 05:00:52 +03:00
bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE',
source='spnego_parse.c',
2011-04-06 08:28:28 +04:00
deps='asn1util')
2018-07-26 23:44:24 +03:00
bld.SAMBA_BINARY(
'test_ntlm_check',
source='tests/ntlm_check.c',
deps='''
NTLM_CHECK
CREDENTIALS_NTLM
samba-credentials
cmocka
talloc
''',
2019-11-22 00:06:57 +03:00
for_selftest=True
2018-07-26 23:44:24 +03:00
)
2019-07-05 10:39:02 +03:00
bld.SAMBA_BINARY('test_rc4_passwd_buffer',
source='tests/test_rc4_passwd_buffer.c',
deps='''
INIT_SAMR
LIBCLI_AUTH
cmocka
''',
2019-11-22 00:06:57 +03:00
for_selftest=True)
2019-09-26 00:44:49 +03:00
bld.SAMBA_BINARY('test_schannel',
source='tests/test_schannel.c',
deps='''
gensec
cmocka
''',
2019-11-22 00:06:57 +03:00
for_selftest=True)
2019-09-28 14:10:32 +03:00
bld.SAMBA_BINARY('test_gnutls',
source='tests/test_gnutls.c',
deps='''
gnutls
2019-11-09 19:47:33 +03:00
LIBCLI_AUTH
2019-09-28 14:10:32 +03:00
cmocka
samba-util
''',
2019-11-22 00:06:57 +03:00
for_selftest=True)
2022-07-25 12:25:09 +03:00
bld.SAMBA_BINARY('test_encode_decode',
source='tests/test_encode_decode.c',
deps='''
LIBCLI_AUTH
cmocka
samba-util
''',
for_selftest=True)