summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_rpc_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c
index 8f1277764c..938914b2d1 100644
--- a/source3/utils/net_rpc_join.c
+++ b/source3/utils/net_rpc_join.c
@@ -442,7 +442,7 @@ int net_rpc_join_newstyle(struct net_context *c, int argc, const char **argv)
}
status = rpccli_netlogon_setup_creds(pipe_hnd,
- cli->desthost, /* server name */
+ pipe_hnd->desthost, /* server name */
domain, /* domain */
lp_netbios_name(), /* client name */
lp_netbios_name(), /* machine account name */