Use the correct domain name when looking up the trust password.
commitfda9247770577a98606c91973f98a7e53123a40c
authorGerald W. Carter <jerry@samba.org>
Fri, 25 Jan 2008 18:18:05 +0000 (25 12:18 -0600)
committerGerald W. Carter <jerry@samba.org>
Fri, 25 Jan 2008 18:27:16 +0000 (25 12:27 -0600)
treecebbc69d10f2e7edbadd0e2d36430de452e76339
parent7bcf0b0262cea95238beb6c0c8d469d47a4bc825
Use the correct domain name when looking up the trust password.

On a DC, we always use the domain name given.  On a domain member,
we use lp_workgroup().  This fixes a bug supporting trusted domains.
(This used to be commit 8b063a414149bdf401a8f854d55ed7dc6f94cb60)
source3/winbindd/winbindd_cm.c