summaryrefslogtreecommitdiff
path: root/source3/smbd/auth_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/auth_server.c')
-rw-r--r--source3/smbd/auth_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/auth_server.c b/source3/smbd/auth_server.c
index 0711b056bd..ad66f0c4ac 100644
--- a/source3/smbd/auth_server.c
+++ b/source3/smbd/auth_server.c
@@ -205,9 +205,9 @@ use this machine as the password server.\n"));
*/
if (!cli_session_setup(cli, user_info->smb_username.str,
- user_info->lm_resp.buffer,
+ (char *)user_info->lm_resp.buffer,
user_info->lm_resp.len,
- user_info->nt_resp.buffer,
+ (char *)user_info->nt_resp.buffer,
user_info->nt_resp.len,
user_info->domain.str)) {
DEBUG(1,("password server %s rejected the password\n", cli->desthost));