s3-netlogon: use dsgetdcname() instead of get_dc_name()
authorSumit Bose <sbose@redhat.com>
Thu, 24 Nov 2011 17:22:57 +0000 (12:22 -0500)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 22 Dec 2011 18:21:21 +0000 (19:21 +0100)
commit6765e7c2a6618be8fa2ddcb93800ef32c3f54830
treec583a6548120eed004d717a893966da3b2d438be
parent1c8f326dc6367969852d0ac30887428345be9d7d
s3-netlogon: use dsgetdcname() instead of get_dc_name()

Sometimes the domain parameter might not contain the NetBIOS name of the remote
domain but the DNS name.

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Dec 22 19:21:21 CET 2011 on sn-devel-104
source3/rpc_server/netlogon/srv_netlog_nt.c