summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:48:38 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:10 +0200
commit7ca20eadf45f13048413da144df3ab9860ede7a6 (patch)
treec37b682df906ac879f1a6ef6a5c779553c71b263
parent27c38dfb445565a160cfcb3b80c73bb7ad05ece3 (diff)
downloadsamba-7ca20eadf45f13048413da144df3ab9860ede7a6.tar.gz
samba-7ca20eadf45f13048413da144df3ab9860ede7a6.tar.bz2
samba-7ca20eadf45f13048413da144df3ab9860ede7a6.zip
s3:net_rpc_join: use pipe_hnd->desthost instead of cli->desthost
metze
-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 */