3 bld
.SAMBA_SUBSYSTEM('gensec_util',
4 source
='socket.c gensec_tstream.c',
5 deps
='tevent-util tevent samba-util LIBTSOCKET',
6 autoproto
='gensec_proto.h')
8 bld
.SAMBA_MODULE('gensec_krb5',
9 source
='gensec_krb5.c gensec_krb5_util.c',
11 init_function
='gensec_krb5_init',
12 deps
='samba-credentials authkrb5 com_err gensec_util',
13 internal_module
=False,
14 enabled
=bld
.AD_DC_BUILD_IS_ENABLED()
18 bld
.SAMBA_MODULE('gensec_gssapi',
19 source
='gensec_gssapi.c',
21 init_function
='gensec_gssapi_init',
22 deps
='gssapi samba-credentials authkrb5 com_err gensec_util'
26 bld
.SAMBA_MODULE('cyrus_sasl',
27 source
='cyrus_sasl.c',
29 init_function
='gensec_sasl_init',
30 deps
='samba-credentials sasl2',
31 enabled
=bld
.CONFIG_SET('HAVE_SASL')
35 bld
.SAMBA_MODULE('gensec_schannel',
38 deps
='COMMON_SCHANNEL NDR_SCHANNEL samba-credentials ndr auth_session',
40 autoproto
='schannel_proto.h',
41 init_function
='gensec_schannel_init'
45 bld
.SAMBA_PYTHON('pygensec',
47 deps
='gensec pytalloc-util pyparam_util',
48 realname
='samba/gensec.so'