From 7473ca2d33e04d9b9dbb7fa56b0cb44603988036 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 24 Feb 2010 15:09:50 +0100 Subject: s4:libnet: use generate_random_password() metze --- source4/libnet/libnet_join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libnet/libnet_join.c') diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c index 84d3250c31..71bef3135f 100644 --- a/source4/libnet/libnet_join.c +++ b/source4/libnet/libnet_join.c @@ -796,7 +796,7 @@ NTSTATUS libnet_JoinDomain(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, stru /* Grab a password of that minimum length */ - password_str = generate_random_str(tmp_ctx, MAX(8, policy_min_pw_len)); + password_str = generate_random_password(tmp_ctx, MAX(8, policy_min_pw_len), 255); /* set full_name and reset flags */ ZERO_STRUCT(u_info21); -- cgit