diff options
author | Herb Lewis <herb@samba.org> | 2002-01-02 23:03:27 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-01-02 23:03:27 +0000 |
commit | a7375aac6d01bc6fdbbe9c1e8948a0113f9ff0d0 (patch) | |
tree | 57379a0486014c937fc14ad0869c73e1243e6ac7 /source/libsmb/cli_netlogon.c | |
parent | 9bccdf577c8da0d1ee371832b28bb94968decb33 (diff) | |
download | samba-a7375aac6d01bc6fdbbe9c1e8948a0113f9ff0d0.tar.gz samba-a7375aac6d01bc6fdbbe9c1e8948a0113f9ff0d0.tar.xz samba-a7375aac6d01bc6fdbbe9c1e8948a0113f9ff0d0.zip |
comile error and warnings on IRIX
Diffstat (limited to 'source/libsmb/cli_netlogon.c')
-rw-r--r-- | source/libsmb/cli_netlogon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/libsmb/cli_netlogon.c b/source/libsmb/cli_netlogon.c index 7499d9ca7bd..1e4f7955d26 100644 --- a/source/libsmb/cli_netlogon.c +++ b/source/libsmb/cli_netlogon.c @@ -438,7 +438,7 @@ NTSTATUS cli_netlogon_sam_logon(struct cli_state *cli, TALLOC_CTX *mem_ctx, 0, /* param_ctrl */ 0xdead, 0xbeef, /* LUID? */ username, cli->clnt_name_slash, - cli->sess_key, lm_owf_user_pwd, + (char *)cli->sess_key, lm_owf_user_pwd, nt_owf_user_pwd); break; @@ -450,8 +450,8 @@ NTSTATUS cli_netlogon_sam_logon(struct cli_state *cli, TALLOC_CTX *mem_ctx, generate_random_buffer(chal, 8, False); - SMBencrypt(password, chal, local_lm_response); - SMBNTencrypt(password, chal, local_nt_response); + SMBencrypt((unsigned char *)password, chal, local_lm_response); + SMBNTencrypt((unsigned char *)password, chal, local_nt_response); init_id_info2(&ctr.auth.id2, lp_workgroup(), 0, /* param_ctrl */ |