s4-rpc_server: Filter via dsdb_dc_functional_level() before we are returning a lookup...
authorAndrew Bartlett <abartlet@samba.org>
Tue, 30 May 2023 06:03:13 +0000 (18:03 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 31 May 2023 04:59:01 +0000 (04:59 +0000)
commit9aa440d52d78d5f91607b4cb5816ae99d75d0838
treebb4e94b0ca1bd83bda2b4e57b3285fc9cd015aff
parent0f3abb291fd58f83c2a3f765aa5e50771e8ba9ab
s4-rpc_server: Filter via dsdb_dc_functional_level() before we are returning a lookup directly

Otherwise, punt to winbindd to see if another DC has this capability.

This allows a FL2008-emulating DC to forward a request to a
2012R2-emlating DC, particularly in another domain.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed May 31 04:59:01 UTC 2023 on atb-devel-224
selftest/knownfail.d/getdcname [deleted file]
source4/rpc_server/netlogon/dcerpc_netlogon.c