3 bld
.SAMBA_LIBRARY('gensec',
4 source
='gensec.c socket.c gensec_tstream.c',
6 autoproto
='gensec_proto.h',
7 public_deps
='UTIL_TEVENT samba-util errors LIBPACKET auth_system_session',
8 public_headers
='gensec.h',
13 bld
.SAMBA_MODULE('gensec_krb5',
14 source
='gensec_krb5.c',
16 init_function
='gensec_krb5_init',
17 deps
='credentials authkrb5 auth_session com_err',
18 internal_module
=False,
22 bld
.SAMBA_MODULE('gensec_gssapi',
23 source
='gensec_gssapi.c',
25 init_function
='gensec_gssapi_init',
26 deps
='gssapi credentials authkrb5 com_err'
30 bld
.SAMBA_MODULE('cyrus_sasl',
31 source
='cyrus_sasl.c',
33 init_function
='gensec_sasl_init',
34 deps
='credentials sasl2',
35 enabled
=bld
.CONFIG_SET('HAVE_SASL')
39 bld
.SAMBA_MODULE('gensec_spnego',
40 source
='spnego.c ../../../libcli/auth/spnego_parse.c',
41 autoproto
='spnego_proto.h',
43 init_function
='gensec_spnego_init',
44 deps
='ASN1_UTIL credentials'
48 bld
.SAMBA_MODULE('gensec_schannel',
49 source
='schannel.c ../../../libcli/auth/schannel_sign.c',
51 deps
='COMMON_SCHANNELDB NDR_SCHANNEL credentials ndr auth_session',
53 autoproto
='schannel_proto.h',
54 init_function
='gensec_schannel_init'
58 bld
.SAMBA_PYTHON('pygensec',
60 deps
='gensec pytalloc-util pyparam_util',
61 realname
='samba/gensec.so'