s3-winbindd: Fix Bug #6711: trusts to windows 2008 (2008 r2) not working.
authorGünther Deschner <gd@samba.org>
Thu, 17 Sep 2009 07:43:36 +0000 (09:43 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 8 Oct 2009 07:34:44 +0000 (09:34 +0200)
commitacc5e6012adca290ddc067a4ed25a8161b74250e
tree4e2bebbfe7510920bd7598e39f3f669e91c0eede
parent7e4e12f120c666f31af042ab59fd9478017740ea
s3-winbindd: Fix Bug #6711: trusts to windows 2008 (2008 r2) not working.

Winbindd should always try to use LSA via an schannel authenticated ncacn_ip_tcp
connection when talking to AD for LSA lookup calls.

In Samba <-> W2k8 interdomain trust scenarios, LookupSids3 and LookupNames4 via an
schannel ncacn_ip_tcp LSA connection are the *only* options to successfully resolve
sids and names.

Guenther
(cherry picked from commit 6a8ef6c424c52be861ed2a9806f917a64ec892a6)
source/winbindd/winbindd.h
source/winbindd/winbindd_cm.c
source/winbindd/winbindd_rpc.c