diff options
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r-- | source3/utils/net_rpc_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index 11e878fdf4..f9b3c94bfb 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -190,7 +190,7 @@ int net_rpc_join(int argc, const char **argv) /* Create a random machine account password */ clear_trust_password = generate_random_str(15); - clear_trust_password = strdup("samba2"); + clear_trust_password = strdup(clear_trust_password); ucs2_pw_len = push_ucs2(NULL, ucs2_trust_password, clear_trust_password, |