diff options
author | Herb Lewis <herb@samba.org> | 2001-08-24 20:32:01 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2001-08-24 20:32:01 +0000 |
commit | 0768991d04ea03e774ca8662c9cae5e1951b88e0 (patch) | |
tree | aa9fba2c42010016abc7bc10f0f98d42774e9987 /source/smbd/auth_smbpasswd.c | |
parent | 031a19639ce862bd01c1a72d8b5ff21b0eae99d2 (diff) | |
download | samba-0768991d04ea03e774ca8662c9cae5e1951b88e0.tar.gz samba-0768991d04ea03e774ca8662c9cae5e1951b88e0.tar.xz samba-0768991d04ea03e774ca8662c9cae5e1951b88e0.zip |
get rid of compiler warnings
Diffstat (limited to 'source/smbd/auth_smbpasswd.c')
-rw-r--r-- | source/smbd/auth_smbpasswd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/auth_smbpasswd.c b/source/smbd/auth_smbpasswd.c index 27cb801c33e..1a5d02e4a44 100644 --- a/source/smbd/auth_smbpasswd.c +++ b/source/smbd/auth_smbpasswd.c @@ -45,7 +45,7 @@ static BOOL smb_pwd_check_ntlmv1(const uchar *password, SMBOWFencrypt(part_passwd, c8, p24); if (user_sess_key != NULL) { - SMBsesskeygen_ntv1(part_passwd, NULL, user_sess_key); + SMBsesskeygen_ntv1(part_passwd, NULL, (char *)user_sess_key); } @@ -84,7 +84,7 @@ static BOOL smb_pwd_check_ntlmv2(const uchar *password, size_t pwd_len, } ntv2_owf_gen(part_passwd, user, domain, kr); - SMBOWFencrypt_ntv2(kr, c8, 8, password+16, pwd_len-16, resp); + SMBOWFencrypt_ntv2(kr, c8, 8, password+16, pwd_len-16, (char *)resp); if (user_sess_key != NULL) { SMBsesskeygen_ntv2(kr, resp, user_sess_key); @@ -154,7 +154,7 @@ uint32 smb_password_ok(SAM_ACCOUNT *sampass, const auth_usersupplied_info *user_ nt_pw, user_info->chal, user_info->requested_username.str, user_info->requested_domain.str, - server_info->session_key)) + (char *)server_info->session_key)) { return NT_STATUS_NOPROBLEMO; } |