summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-04 06:56:58 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-04 06:56:58 +0000
commitc75ef67f9741d0acdd8b6be91b710fab6bd0b8e7 (patch)
treebf4cbc6ed04c80a9f0408d456d3abbfb9697f34f /source3/utils
parent1d66a6beba888a1be33e4b48e2b0d2a51fdbcbc0 (diff)
downloadsamba-c75ef67f9741d0acdd8b6be91b710fab6bd0b8e7.tar.gz
samba-c75ef67f9741d0acdd8b6be91b710fab6bd0b8e7.tar.bz2
samba-c75ef67f9741d0acdd8b6be91b710fab6bd0b8e7.zip
allow for passwords other than "samba2"
:) (This used to be commit cee58f10974b55ead68362166d12285568feeb23)
Diffstat (limited to 'source3/utils')
-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 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,