2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2011-10-07 10:24:12 +04:00
bld.SAMBA_SUBSYSTEM('gensec_util',
source='socket.c gensec_tstream.c gensec_util.c',
2011-12-28 10:48:45 +04:00
deps='tevent-util tevent samba-util LIBTSOCKET KERBEROS_UTIL',
2011-10-07 10:24:12 +04:00
autoproto='gensec_proto.h')
2010-03-17 14:07:42 +03:00
bld.SAMBA_MODULE('gensec_krb5',
source='gensec_krb5.c',
subsystem='gensec',
init_function='gensec_krb5_init',
2011-12-28 10:48:45 +04:00
deps='samba-credentials authkrb5 auth_session com_err gensec_util',
2010-10-11 04:05:03 +04:00
internal_module=False,
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_MODULE('gensec_gssapi',
source='gensec_gssapi.c',
subsystem='gensec',
init_function='gensec_gssapi_init',
2011-12-28 10:48:45 +04:00
deps='gssapi samba-credentials authkrb5 com_err gensec_util'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_MODULE('cyrus_sasl',
source='cyrus_sasl.c',
subsystem='gensec',
init_function='gensec_sasl_init',
2011-08-18 22:43:00 +04:00
deps='samba-credentials sasl2',
2010-06-15 02:59:49 +04:00
enabled=bld.CONFIG_SET('HAVE_SASL')
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_MODULE('gensec_spnego',
2011-02-24 05:00:52 +03:00
source='spnego.c',
2010-03-17 14:07:42 +03:00
autoproto='spnego_proto.h',
subsystem='gensec',
init_function='gensec_spnego_init',
2011-08-18 22:43:00 +04:00
deps='asn1util samba-credentials SPNEGO_PARSE'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_MODULE('gensec_schannel',
2011-02-24 02:36:55 +03:00
source='schannel.c',
2010-03-17 14:07:42 +03:00
subsystem='gensec',
2011-08-18 22:43:00 +04:00
deps='COMMON_SCHANNEL NDR_SCHANNEL samba-credentials ndr auth_session',
2010-03-17 12:12:16 +03:00
internal_module=True,
2010-03-17 14:07:42 +03:00
autoproto='schannel_proto.h',
init_function='gensec_schannel_init'
)
bld.SAMBA_PYTHON('pygensec',
source='pygensec.c',
2010-10-24 23:53:59 +04:00
deps='gensec pytalloc-util pyparam_util',
2010-03-17 14:07:42 +03:00
realname='samba/gensec.so'
)