summaryrefslogtreecommitdiffstats
path: root/source/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-11 00:51:54 +0000
committerJeremy Allison <jra@samba.org>2001-03-11 00:51:54 +0000
commit31e0ce310ec38b3a3a05b344d6450d442c6be471 (patch)
tree1e651409b18864814fb9e3a5853ffdd326bd0aa6 /source/smbd/chgpasswd.c
parent96bcfdcded7202a7bced58fae6534f1fcd4c4e36 (diff)
downloadsamba-31e0ce310ec38b3a3a05b344d6450d442c6be471.tar.gz
samba-31e0ce310ec38b3a3a05b344d6450d442c6be471.tar.xz
samba-31e0ce310ec38b3a3a05b344d6450d442c6be471.zip
Remove "BYTE" - we already have uint8 - don't need more conflicts with
system header files... Jeremy.
Diffstat (limited to 'source/smbd/chgpasswd.c')
-rw-r--r--source/smbd/chgpasswd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index 418ad6a6755..21b77223070 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/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];