s4:rpc_server: Do some checks of LogonSamLogon flags
authorStefan Metzmacher <metze@samba.org>
Thu, 8 Jun 2017 16:01:59 +0000 (18:01 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 9 Jun 2017 15:06:04 +0000 (17:06 +0200)
commitf180b1c21ccc3ba0097e61eac7b6b7560736bdc3
tree189d757e112335385d9b3c9156fc5b0f1d6f009c
parent9b28f3af879290708851ba26ad59c2055b751dac
s4:rpc_server: Do some checks of LogonSamLogon flags

This matches a Windows Server, at least if it is itself a
DC of the forest root and the requested domain is the local domain of the DC.
Both constraints are true on a Samba AD DC, as we don't really support
trusts yet.

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Jun  9 17:06:04 CEST 2017 on sn-devel-144
source4/rpc_server/netlogon/dcerpc_netlogon.c