r25275: w2k3 (as PDC emulator) returns WERR_NO_SUCH_DOMAIN to netlogon_getanydcname()
commitba93d0e5c8418eb11a5fa0bb48c1ec3a0ebd403b
authorStefan Metzmacher <metze@samba.org>
Fri, 21 Sep 2007 10:25:33 +0000 (21 10:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:56 +0000 (10 12:30 -0500)
treef3863bc75ea8920843955840be2bdba669777efd
parent7cbcb5f8c5bfd9bac6527232e7f5d011f03ed9ac
r25275: w2k3 (as PDC emulator) returns WERR_NO_SUCH_DOMAIN to netlogon_getanydcname()
when called for it's own domain. So we should use netlogon_getdcname() which
returns WERR_OK:-)

gd: feel free to usage rpccli_netlogon_dsr_getdcname(), but please make sure
    the new WINBIND-STRUCT-GETDCNAME test is still passing.

metze
(This used to be commit 9a9c164366a252ab8268b687699d54048ced993f)
source3/winbindd/winbindd_misc.c