diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-02-24 15:12:17 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-02-26 08:57:29 +0100 |
commit | 9ada48ffdb3b7ab4bc1bce0f6b2179f67292bcf8 (patch) | |
tree | bc0af443025e0b7ce6efcfb2d4ea755814361e4f /source4/torture/rpc/schannel.c | |
parent | 7473ca2d33e04d9b9dbb7fa56b0cb44603988036 (diff) | |
download | samba-9ada48ffdb3b7ab4bc1bce0f6b2179f67292bcf8.tar.gz samba-9ada48ffdb3b7ab4bc1bce0f6b2179f67292bcf8.tar.bz2 samba-9ada48ffdb3b7ab4bc1bce0f6b2179f67292bcf8.zip |
s4:torture/rpc: use generate_random_password()
metze
Diffstat (limited to 'source4/torture/rpc/schannel.c')
-rw-r--r-- | source4/torture/rpc/schannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c index 0ada20d888..2f9d60ad30 100644 --- a/source4/torture/rpc/schannel.c +++ b/source4/torture/rpc/schannel.c @@ -770,7 +770,7 @@ bool torture_rpc_schannel_bench1(struct torture_context *torture) { struct netr_ServerPasswordSet pwset; - char *password = generate_random_str(s->join_ctx1, 8); + char *password = generate_random_password(s->join_ctx1, 8, 255); struct netlogon_creds_CredentialState *creds_state; struct dcerpc_pipe *net_pipe; struct netr_Authenticator credential, return_authenticator; |