summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/chgpasswd.c6
-rw-r--r--source3/smbd/password.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index 418ad6a675..21b7722307 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -547,7 +547,7 @@ BOOL check_lanman_password(char *user, uchar * pass1,
uchar unenc_old_pw[16];
SAM_ACCOUNT *sampass = NULL;
uint16 acct_ctrl;
- BYTE *lanman_pw;
+ uint8 *lanman_pw;
become_root();
sampass = pdb_getsampwnam(user);
@@ -614,7 +614,7 @@ BOOL change_lanman_password(SAM_ACCOUNT *sampass, uchar * pass1,
uchar unenc_new_pw[16];
BOOL ret;
uint16 acct_ctrl;
- BYTE *pwd;
+ uint8 *pwd;
if (sampass == NULL)
{
@@ -710,7 +710,7 @@ BOOL check_oem_password(char *user,
static uchar null_pw[16];
static uchar null_ntpw[16];
SAM_ACCOUNT *sampass = NULL;
- BYTE *lanman_pw, *nt_pw;
+ uint8 *lanman_pw, *nt_pw;
uint16 acct_ctrl;
int new_pw_len;
uchar new_ntp16[16];
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 849aa87a75..9731b4140c 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -428,7 +428,7 @@ BOOL smb_password_ok(SAM_ACCOUNT *sampass, uchar chal[8],
{
uchar challenge[8];
char* user_name;
- BYTE *nt_pw, *lm_pw;
+ uint8 *nt_pw, *lm_pw;
if (!lm_pass || !sampass)
return(False);