diff options
author | Gerald Carter <jerry@samba.org> | 2003-08-15 17:52:55 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-08-15 17:52:55 +0000 |
commit | 7139794cd0e68298e638929f35e7684a60fe5974 (patch) | |
tree | 2b40a989618bb9ece453fc995c645dfb1556af22 /source/auth/auth.c | |
parent | 34ec734381246665fb20225dc2e03b06fd7fcc90 (diff) | |
download | samba-7139794cd0e68298e638929f35e7684a60fe5974.tar.gz |
syncing up to 3.0.0rc1
Diffstat (limited to 'source/auth/auth.c')
-rw-r--r-- | source/auth/auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/auth/auth.c b/source/auth/auth.c index a2486acbd11..668bba0d641 100644 --- a/source/auth/auth.c +++ b/source/auth/auth.c @@ -131,7 +131,7 @@ static const uint8 *get_ntlm_challenge(struct auth_context *auth_context) DEBUG(5, ("auth_context challenge created by %s\n", challenge_set_by)); DEBUG(5, ("challenge is: \n")); - dump_data(5, auth_context->challenge.data, auth_context->challenge.length); + dump_data(5, (const char *)auth_context->challenge.data, auth_context->challenge.length); SMB_ASSERT(auth_context->challenge.length == 8); @@ -228,7 +228,7 @@ static NTSTATUS check_ntlm_password(const struct auth_context *auth_context, auth_context->challenge_set_by)); DEBUG(10, ("challenge is: \n")); - dump_data(5, auth_context->challenge.data, auth_context->challenge.length); + dump_data(5, (const char *)auth_context->challenge.data, auth_context->challenge.length); #ifdef DEBUG_PASSWORD DEBUG(100, ("user_info has passwords of length %d and %d\n", @@ -512,7 +512,7 @@ NTSTATUS make_auth_context_fixed(struct auth_context **auth_context, uchar chal[ return nt_status; } - (*auth_context)->challenge = data_blob(chal, 8); + (*auth_context)->challenge = data_blob_talloc((*auth_context)->mem_ctx, chal, 8); (*auth_context)->challenge_set_by = "fixed"; return nt_status; } |