Fix "net rpc trustdom establish" for win2k8 trusts.
commit832adaa5ab46a3fdceb2c26942615ac7a4ddf522
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)
treefa2eec0319d635054d632a2925dc74380acf61d2
parentda7863c4c9cc22ae8392b0ce42bb360ced5c0581
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
(This used to be commit b12edbeffee1f7d1fd971cde9189e5137ddeb35b)
source3/utils/net_rpc.c