s4:libnet: use helper functions to access dcerpc_binding->target_hostname
commit776f5c65bf6123d4f6909724436c48fe900866f0
authorStefan Metzmacher <metze@samba.org>
Tue, 4 Feb 2014 08:59:54 +0000 (4 09:59 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 13 Feb 2014 10:54:16 +0000 (13 11:54 +0100)
tree048bdde6960364489b56f544c84d5638136db117
parentab5f89bc72e4d42fd12572e267f8c236705646fb
s4:libnet: use helper functions to access dcerpc_binding->target_hostname

If possible also specify the already known address as dcerpc_binding->host.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/libnet/libnet_become_dc.c
source4/libnet/libnet_join.c
source4/libnet/libnet_rpc.c
source4/libnet/libnet_unbecome_dc.c