2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-03-17 14:07:42 +03:00
bld.SAMBA_LIBRARY('gensec',
2010-09-22 14:13:28 +04:00
source='gensec.c socket.c gensec_tstream.c',
2010-03-27 10:14:33 +03:00
pc_files='gensec.pc',
2010-03-17 14:07:42 +03:00
autoproto='gensec_proto.h',
2010-10-24 05:41:59 +04:00
public_deps='UTIL_TEVENT libsamba-util errors LIBPACKET auth_system_session',
2010-03-17 14:07:42 +03:00
public_headers='gensec.h',
2010-10-05 02:36:21 +04:00
deps='com_err',
2010-03-17 14:07:42 +03:00
vnum='0.0.1'
)
bld.SAMBA_MODULE('gensec_krb5',
source='gensec_krb5.c',
subsystem='gensec',
init_function='gensec_krb5_init',
2010-10-18 13:50:04 +04:00
deps='CREDENTIALS KERBEROS auth_session com_err',
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',
2010-10-04 17:54:07 +04:00
deps='gssapi CREDENTIALS KERBEROS'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_MODULE('cyrus_sasl',
source='cyrus_sasl.c',
subsystem='gensec',
init_function='gensec_sasl_init',
2010-10-21 07:52:25 +04:00
deps='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',
source='spnego.c ../../../libcli/auth/spnego_parse.c',
autoproto='spnego_proto.h',
subsystem='gensec',
init_function='gensec_spnego_init',
deps='ASN1_UTIL CREDENTIALS'
)
bld.SAMBA_MODULE('gensec_schannel',
source='schannel.c ../../../libcli/auth/schannel_sign.c',
subsystem='gensec',
deps='COMMON_SCHANNELDB NDR_SCHANNEL CREDENTIALS LIBNDR 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',
deps='gensec PYTALLOC pyparam_util',
realname='samba/gensec.so'
)