From c75ef67f9741d0acdd8b6be91b710fab6bd0b8e7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 4 Dec 2001 06:56:58 +0000 Subject: allow for passwords other than "samba2" :) (This used to be commit cee58f10974b55ead68362166d12285568feeb23) --- source3/utils/net_rpc_join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/net_rpc_join.c') 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, -- cgit