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:39:31 +0000 (09:39 +0200)
commit3bd36630e402b6215a46f8b0ba98e9e2b18b44eb
tree6a170c257f1b842d92e39c2bc3fbee4ff3b55e6b
parentb35d5cf97fd610874583f0d03c6cda4def0cf0f5
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)
source3/winbindd/winbindd.h
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_rpc.c