1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/auth/wscript_build
Joseph Sutton b3a8565582 auth: Move authn_policy code into auth subsystem
This ensures that this code will still be usable by other libraries and
subsystems if Samba is built with ‘--without-ad-dc’.

We also drop dependencies on ‘ldb’ and ‘talloc’ that we shouldn’t have
needed anyway.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-06-15 05:29:28 +00:00

27 lines
842 B
Python

#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('authn_policy',
source='authn_policy.c',
deps='samba-util')
bld.SAMBA_LIBRARY('common_auth',
source='''auth_sam_reply.c
wbc_auth_util.c
auth_log.c
auth_util.c''',
deps='''talloc
samba-security
samba-util
util_str_escape
LIBTSOCKET
audit_logging
jansson
MESSAGING_SEND
server_id_db
ndr-samba''',
private_library=True)
bld.RECURSE('gensec')
bld.RECURSE('ntlmssp')
bld.RECURSE('credentials')