]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:winbindd: Send flags=0 in netr_LogonSamLogon{WithFlags,Ex}()
authorStefan Metzmacher <metze@samba.org>
Thu, 8 Jun 2017 15:10:12 +0000 (17:10 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 9 Jun 2017 11:00:12 +0000 (13:00 +0200)
commit9b28f3af879290708851ba26ad59c2055b751dac
tree06e71d63a9eef6181f4ad6e261207fc8268c62e4
parent76fe65b67e6d1baca49b488d07af771319c148e7
s3:winbindd: Send flags=0 in netr_LogonSamLogon{WithFlags,Ex}()

These extra flags are an [in,out] argument, so we have to initialize
them to 0. If we pass NETLOGON_SAMLOGON_FLAG_PASS_TO_FOREST_ROOT
or NETLOGON_SAMLOGON_FLAG_PASS_CROSS_FOREST_HOP, a Windows Server
will just return NT_STATUS_NO_SUCH_USER with authoritative=1
(at least if it is itself a DC of the forest root and the requested
 domain is the local domain of the DC).

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
source3/winbindd/winbindd_dual_srv.c
source3/winbindd/winbindd_pam.c