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',
public_deps='CREDENTIALS LIBSAMBA-UTIL LIBCRYPTO ASN1_UTIL samba_socket LIBPACKET LIBTSOCKET UTIL_TEVENT',
public_headers='gensec.h',
vnum='0.0.1'
)
bld.SAMBA_MODULE('gensec_krb5',
source='gensec_krb5.c',
subsystem='gensec',
init_function='gensec_krb5_init',
deps='CREDENTIALS KERBEROS auth_session'
)
bld.SAMBA_MODULE('gensec_gssapi',
source='gensec_gssapi.c',
subsystem='gensec',
init_function='gensec_gssapi_init',
deps='HEIMDAL_GSSAPI CREDENTIALS KERBEROS'
)
bld.SAMBA_MODULE('cyrus_sasl',
source='cyrus_sasl.c',
subsystem='gensec',
init_function='gensec_sasl_init',
2010-03-17 01:05:43 +03:00
deps='CREDENTIALS SASL',
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'
)