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=''
)
2016-12-20 12:57:13 +03:00
for env in bld.gen_python_environments():
pytalloc_util = bld.pyembed_libname('pytalloc-util')
pyparam_util = bld.pyembed_libname('pyparam_util')
pyldb_util = bld.pyembed_libname('pyldb-util')
2018-04-04 11:53:14 +03:00
pycredentials = 'pycredentials'
if bld.env['IS_EXTRA_PYTHON']:
pycredentials = 'extra-' + pycredentials
2016-12-20 12:57:13 +03:00
bld.SAMBA_PYTHON('pyauth',
source='pyauth.c',
public_deps='auth_system_session',
2018-04-04 11:53:14 +03:00
deps='samdb %s %s %s %s auth4' % (pytalloc_util, pyparam_util, pyldb_util, pycredentials),
2016-12-20 12:57:13 +03:00
realname='samba/auth.so'
)
2010-03-17 14:07:42 +03:00