mirror of
https://github.com/samba-team/samba.git
synced 2025-01-31 01:48:16 +03:00
a901109313
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgfXigyvSVFoYl7cTqplEL7aAtiAFAmNWba0ACgkQqplEL7aA tiAj2w/8DgIpsNJSFaUM/yjCPc3brNMFmr1ljBDWIqDOuAuYmx+wBsrPsLaewalp 0O99kP8Tcsqanwc0HQ+SJcCuprCsxk2qQCMz3SdjSr/lpdDjaIZTAf8ycb1BtjQ3 U7LxAU7Rv0pmlH277HS6aZAPd1iHWOhUpZpFMZsECOHJLVjdIghXW+x8SDEPl41Y ulogbEj7xebJk62N2Z4HrbxlSsoPtPtKSRAytstclnDf4+QSK2pIO2magobsA5q9 V0z7k7E+8qp/nWiTG2g1hkozZjUVV3UfvOOXmPnr2JatXFblr3Id1gTIRjrPqK2L UvQu1r4idA4IWmnbyYldqu7SeQuRtnXHWNa1RVoVa8K5vO6NlhgyfZdLxDFlxO4b hKCFV6CvYs2+gDH1Ir7mQc/dV0LUAIUmRdBGwX8BUidyOgYIuoXgyWJAIVKdBGQX U9WA3fCS3jPM9RNgeNZMY0RRBmuTVjH/uJA22MEeBfdOKD/iqdt4O9RboC5NlrdS s72tiECST6dItBEc5EDTa7jtTd5tQyZkXjhvBLn7DIND0Kdes93u8HCazi74HhRK Sq8nbwuadxmGoBEPiISBoxK4fkWucHTRtOgISMfuhqHHug1WCOiHf2Q1IYANKlW0 rcfC1x2LhTnb1TeRukOfzvXriAksOEhvcTG/HnJolWFZvfwnrgY= =bBex -----END PGP SIGNATURE----- Merge tag 'samba-4.16.6' into v4-16-test samba: tag release samba-4.16.6 Signed-off-by: Jule Anger <janger@samba.org>
95 lines
2.7 KiB
Python
95 lines
2.7 KiB
Python
#!/usr/bin/env python
|
|
|
|
bld.RECURSE('gensec')
|
|
bld.RECURSE('kerberos')
|
|
bld.RECURSE('ntlm')
|
|
|
|
bld.SAMBA_SUBSYSTEM('auth_session',
|
|
source='session.c',
|
|
autoproto='session_proto.h',
|
|
public_deps='samba-credentials',
|
|
public_headers='session.h',
|
|
header_path='samba',
|
|
deps='samdb auth4_sam'
|
|
)
|
|
|
|
bld.SAMBA_LIBRARY('auth_unix_token',
|
|
source='unix_token.c',
|
|
autoproto='unix_token_proto.h',
|
|
public_deps='LIBWBCLIENT_OLD',
|
|
private_library=True,
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('samba_server_gensec',
|
|
source='samba_server_gensec.c',
|
|
public_deps='samba-credentials gensec auth4'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('auth_system_session',
|
|
source='system_session.c',
|
|
autoproto='system_session_proto.h',
|
|
public_deps='samba-credentials',
|
|
deps='auth_session',
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('auth4_sam',
|
|
source='sam.c',
|
|
autoproto='auth_sam.h',
|
|
public_deps='samdb samba-security ldb tevent',
|
|
deps=''
|
|
)
|
|
|
|
bld.SAMBA_BINARY('test_kerberos',
|
|
source='tests/kerberos.c',
|
|
deps='cmocka authkrb5 krb5samba com_err CREDENTIALS_KRB5',
|
|
local_include=False,
|
|
for_selftest=True
|
|
)
|
|
|
|
bld.SAMBA_BINARY('test_heimdal_gensec_unwrap_des',
|
|
source='tests/heimdal_unwrap_des.c',
|
|
deps='cmocka talloc gssapi-subsystem',
|
|
local_include=False,
|
|
for_selftest=True,
|
|
enabled=(bld.CONFIG_SET('SAMBA4_USES_HEIMDAL') and
|
|
not bld.CONFIG_SET('USING_SYSTEM_GSSAPI')),
|
|
ldflags='''
|
|
-Wl,--wrap,ct_memcmp
|
|
-Wl,--wrap,der_get_length
|
|
-Wl,--wrap,krb5_auth_con_getlocalsubkey
|
|
-Wl,--wrap,krb5_crypto_destroy
|
|
-Wl,--wrap,krb5_crypto_init
|
|
-Wl,--wrap,krb5_decrypt
|
|
-Wl,--wrap,krb5_decrypt_ivec
|
|
-Wl,--wrap,krb5_free_keyblock
|
|
-Wl,--wrap,krb5_verify_checksum
|
|
-Wl,--wrap,malloc
|
|
'''
|
|
)
|
|
|
|
bld.SAMBA_BINARY('test_auth_sam',
|
|
source='tests/sam.c',
|
|
deps='cmocka samdb samba-security ldb tevent',
|
|
local_include=False,
|
|
for_selftest=True,
|
|
ldflags='''
|
|
-Wl,--wrap,dsdb_search_dn
|
|
-Wl,--wrap,samdb_msg_add_int64
|
|
'''
|
|
)
|
|
|
|
pytalloc_util = bld.pyembed_libname('pytalloc-util')
|
|
pyparam_util = bld.pyembed_libname('pyparam_util')
|
|
pyldb_util = bld.pyembed_libname('pyldb-util')
|
|
pycredentials = 'pycredentials'
|
|
bld.SAMBA_PYTHON('pyauth',
|
|
source='pyauth.c',
|
|
public_deps='auth_system_session',
|
|
deps='samdb %s %s %s %s auth4' % (pytalloc_util, pyparam_util, pyldb_util, pycredentials),
|
|
realname='samba/auth.so'
|
|
)
|
|
|