Fix "net rpc trustdom establish" for win2k8 trusts.
commitb12edbeffee1f7d1fd971cde9189e5137ddeb35b
authorGünther Deschner <gd@samba.org>
Wed, 2 Apr 2008 10:29:24 +0000 (2 12:29 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 2 Apr 2008 10:29:24 +0000 (2 12:29 +0200)
treec8992e5cf4857ad75c1ffcdfe6cd8faf5d91ca0b
parent8a1a9f967db25d3928f19e46d60af249f934f323
Fix "net rpc trustdom establish" for win2k8 trusts.

When establishing trusts to a windows 2008 dc, the NetServerEnum2 RAP call fails
with some exotic RAP failure. Let's just try a netlogon getdcname call in
that case to convince ourselve we're talking to a proper machine.

Rafael, looks ok?

Guenther
source/utils/net_rpc.c