From a2e5dbb1120e726ba80b00a159dad1a1ca2e3a18 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 11 Mar 2001 00:51:54 +0000 Subject: Remove "BYTE" - we already have uint8 - don't need more conflicts with system header files... Jeremy. (This used to be commit 31e0ce310ec38b3a3a05b344d6450d442c6be471) --- source3/smbd/chgpasswd.c | 6 +++--- source3/smbd/password.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/smbd') 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); -- cgit