2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-04-04 07:08:05 +04:00
bld.RECURSE('gensec')
bld.RECURSE('kerberos')
bld.RECURSE('ntlm')
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('auth_session',
source='session.c',
autoproto='session_proto.h',
2011-08-18 22:43:00 +04:00
public_deps='samba-credentials',
2010-03-17 14:07:42 +03:00
public_headers='session.h',
2010-10-11 03:23:20 +04:00
header_path='samba',
2011-02-15 08:30:35 +03:00
deps='samdb auth4_sam'
2010-03-17 14:07:42 +03:00
)
2011-09-08 11:10:27 +04:00
bld.SAMBA_LIBRARY('auth_unix_token',
source='unix_token.c',
autoproto='unix_token_proto.h',
public_deps='LIBWBCLIENT_OLD',
private_library=True,
)
2011-07-21 11:06:17 +04:00
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('samba_server_gensec',
source='samba_server_gensec.c',
2011-08-18 22:43:00 +04:00
public_deps='samba-credentials gensec auth4'
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_SUBSYSTEM('auth_system_session',
source='system_session.c',
autoproto='system_session_proto.h',
2011-08-18 22:43:00 +04:00
public_deps='samba-credentials',
2010-10-11 03:23:20 +04:00
deps='auth_session',
2010-03-17 14:07:42 +03:00
)
2011-02-15 08:30:35 +03:00
bld.SAMBA_SUBSYSTEM('auth4_sam',
2010-03-17 14:07:42 +03:00
source='sam.c',
autoproto='auth_sam.h',
2012-08-10 13:37:28 +04:00
public_deps='samdb samba-security ldb tevent',
2010-03-17 14:07:42 +03:00
deps=''
)
2018-05-01 02:10:24 +03:00
bld.SAMBA_BINARY('test_kerberos',
source='tests/kerberos.c',
deps='cmocka authkrb5 krb5samba com_err CREDENTIALS_KRB5',
local_include=False,
2019-11-22 00:06:57 +03:00
for_selftest=True
2018-05-01 02:10:24 +03:00
)
2010-03-17 14:07:42 +03:00
2019-02-15 06:37:48 +03:00
pytalloc_util = bld.pyembed_libname('pytalloc-util')
pyparam_util = bld.pyembed_libname('pyparam_util')
pyldb_util = bld.pyembed_libname('pyldb-util')
pycredentials = 'pycredentials'
bld.SAMBA_PYTHON('pyauth',
source='pyauth.c',
public_deps='auth_system_session',
deps='samdb %s %s %s %s auth4' % (pytalloc_util, pyparam_util, pyldb_util, pycredentials),
realname='samba/auth.so'
)
2010-03-17 14:07:42 +03:00