4 bld
.RECURSE('kerberos')
7 bld
.SAMBA_SUBSYSTEM('auth_session',
9 autoproto
='session_proto.h',
10 public_deps
='samba-credentials',
11 public_headers
='session.h',
13 deps
='samdb auth4_sam'
16 bld
.SAMBA_LIBRARY('auth_unix_token',
17 source
='unix_token.c',
18 autoproto
='unix_token_proto.h',
19 public_deps
='LIBWBCLIENT_OLD',
24 bld
.SAMBA_SUBSYSTEM('samba_server_gensec',
25 source
='samba_server_gensec.c',
26 public_deps
='samba-credentials gensec auth4'
30 bld
.SAMBA_SUBSYSTEM('auth_system_session',
31 source
='system_session.c',
32 autoproto
='system_session_proto.h',
33 public_deps
='samba-credentials',
38 bld
.SAMBA_SUBSYSTEM('auth4_sam',
40 autoproto
='auth_sam.h',
41 public_deps
='samdb samba-security ldb tevent',
45 bld
.SAMBA_BINARY('test_kerberos',
46 source
='tests/kerberos.c',
47 deps
='cmocka authkrb5 krb5samba com_err CREDENTIALS_KRB5',
52 bld
.SAMBA_BINARY('test_auth_sam',
54 deps
='cmocka samdb samba-security ldb tevent',
58 -Wl,--wrap,dsdb_search_dn
59 -Wl,--wrap,samdb_msg_add_int64
63 bld
.SAMBA_BINARY('test_heimdal_gensec_unwrap_des',
64 source
='tests/heimdal_unwrap_des.c',
65 deps
='cmocka talloc gssapi-subsystem',
68 enabled
=(bld
.CONFIG_SET('SAMBA4_USES_HEIMDAL') and
69 not bld
.CONFIG_SET('USING_SYSTEM_GSSAPI')),
72 -Wl,--wrap,der_get_length
73 -Wl,--wrap,krb5_auth_con_getlocalsubkey
74 -Wl,--wrap,krb5_crypto_destroy
75 -Wl,--wrap,krb5_crypto_init
76 -Wl,--wrap,krb5_decrypt
77 -Wl,--wrap,krb5_decrypt_ivec
78 -Wl,--wrap,krb5_free_keyblock
79 -Wl,--wrap,krb5_verify_checksum
84 pytalloc_util
= bld
.pyembed_libname('pytalloc-util')
85 pyparam_util
= bld
.pyembed_libname('pyparam_util')
86 pyldb_util
= bld
.pyembed_libname('pyldb-util')
87 pycredentials
= 'pycredentials'
88 libpython
= bld
.pyembed_libname('LIBPYTHON')
90 bld
.SAMBA_PYTHON('pyauth',
92 public_deps
='auth_system_session',
93 deps
=f
'samdb {pytalloc_util} {pyparam_util} {pyldb_util} {pycredentials} {libpython} auth4',
94 realname
='samba/auth.so'