diff options
Diffstat (limited to 'source4/libnet/libnet_join.c')
-rw-r--r-- | source4/libnet/libnet_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |