auth: Move authn_policy code into auth subsystem
commitb3a85655825fb6c6a1d668379c1ab004707dc56d
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 15 Jun 2023 02:59:10 +0000 (15 14:59 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 15 Jun 2023 05:29:28 +0000 (15 05:29 +0000)
tree1dbc9fd0598b24f168b04c6fb073d2ce08cbcf3e
parent9b0a71bd3085b7c67a72bf498870c69cf6b3baa5
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>
auth/authn_policy.c [moved from source4/kdc/authn_policy.c with 96% similarity]
auth/authn_policy.h [moved from source4/kdc/authn_policy.h with 100% similarity]
auth/authn_policy_impl.h [moved from source4/kdc/authn_policy_impl.h with 97% similarity]
auth/wscript_build
source4/kdc/authn_policy_util.c
source4/kdc/authn_policy_util.h
source4/kdc/wscript_build