When connecting to an AD DC, use the DsGetDCName variant.
authorGerald (Jerry) Carter <jerry@samba.org>
Fri, 4 Jan 2008 19:31:07 +0000 (13:31 -0600)
committerGerald (Jerry) Carter <jerry@samba.org>
Fri, 4 Jan 2008 19:31:07 +0000 (13:31 -0600)
commit9a45dcef4d7c0f85d371afb2f7e09ae63bb7ae65
treedb5bf72fd0ae498b3541585b43a4cf21dba44315
parentf215dec8311b733c2db52c87a4e34dafecbea736
When connecting to an AD DC, use the DsGetDCName variant.

This allows us to deal with child domains in transitive forest trusts.
It also allows us to fill in the forest name to the target domain to the
struct winbindd_domain *.
(This used to be commit ed30516bb0f55f9ba466debf91b6e33d1c28a484)
source3/winbindd/winbindd_cm.c