dsdb/netlogon: Indicate DC functional level support in samlogon response
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 22 Dec 2021 01:51:08 +0000 (14:51 +1300)
committerJoseph Sutton <jsutton@samba.org>
Fri, 24 Dec 2021 02:16:33 +0000 (02:16 +0000)
commit55948433135929488fa8370f826afdc02db1bf2a
treec8cc88bed217b52e1385976d033c18023e09e01f
parent0e515b3309d0c3bbb63447fb712df2279f071551
dsdb/netlogon: Indicate DC functional level support in samlogon response

The DS_SERVER_DS_8 flag is necessary for Windows to detect FAST support.

Note for know we only ever have DS_DOMAIN_FUNCTION_2008_R2 (4) in the
msDS-Behavior-Version attribute of our own NTDSA object. So
for now this is only for manual testing. In future we most likely
want to extend 'samba-tool domain level' to raise the dc level
manually or let 'samba' autoupgrade the value.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/netlogon.c