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',
deps = 'talloc'
)
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH',
source='credentials.c session.c smbencrypt.c smbdes.c',
2019-06-26 07:41:05 +03:00
public_deps='MSRPC_PARSE gnutls GNUTLS_HELPERS',
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',
deps='dbwrap util_tdb tevent-util samba-hostconfig RPC_NDR_NETLOGON NDR_NETLOGON'
)
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
''',
install=False
)
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
''',
install=False)
2019-09-26 00:44:49 +03:00
bld.SAMBA_BINARY('test_schannel',
source='tests/test_schannel.c',
deps='''
gensec
cmocka
''',
install=False)
2019-09-28 14:10:32 +03:00
bld.SAMBA_BINARY('test_gnutls',
source='tests/test_gnutls.c',
deps='''
gnutls
cmocka
samba-util
''',
install=False)