When connecting to an AD DC, use the DsGetDCName variant.
commited30516bb0f55f9ba466debf91b6e33d1c28a484
authorGerald (Jerry) Carter <jerry@samba.org>
Fri, 4 Jan 2008 19:31:07 +0000 (4 13:31 -0600)
committerGerald (Jerry) Carter <jerry@samba.org>
Fri, 4 Jan 2008 19:31:07 +0000 (4 13:31 -0600)
tree87352207fdb01802ca98972e0ebdc59d1dfcf5b4
parentdf5839b5376e903486982ddc7c4f4fbd4550c60a
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 *.
source/winbindd/winbindd_cm.c