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