3 bld
.SAMBA_LIBRARY('gensec',
4 source
='gensec_start.c socket.c gensec_tstream.c',
6 autoproto
='gensec_proto.h',
7 public_deps
='tevent-util samba-util errors LIBPACKET auth_system_session gensec_runtime',
13 bld
.SAMBA_MODULE('gensec_krb5',
14 source
='gensec_krb5.c',
16 init_function
='gensec_krb5_init',
17 deps
='samba-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 samba-credentials authkrb5 com_err'
30 bld
.SAMBA_MODULE('cyrus_sasl',
31 source
='cyrus_sasl.c',
33 init_function
='gensec_sasl_init',
34 deps
='samba-credentials sasl2',
35 enabled
=bld
.CONFIG_SET('HAVE_SASL')
39 bld
.SAMBA_MODULE('gensec_spnego',
41 autoproto
='spnego_proto.h',
43 init_function
='gensec_spnego_init',
44 deps
='asn1util samba-credentials SPNEGO_PARSE'
48 bld
.SAMBA_MODULE('gensec_schannel',
51 deps
='COMMON_SCHANNEL NDR_SCHANNEL samba-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'