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)
committerGünther Deschner <gd@samba.org>
Tue, 22 Sep 2009 14:49:31 +0000 (16:49 +0200)
commit6a8ef6c424c52be861ed2a9806f917a64ec892a6
treea58276ea0a7e97f5974702a8fed5501e96bd759c
parent58f2deb94024f002e3c3df47f45454edc97f47e1
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
source3/winbindd/winbindd.h
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_rpc.c