summaryrefslogtreecommitdiff
path: root/source3/smbd
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
commita2e5dbb1120e726ba80b00a159dad1a1ca2e3a18 (patch)
tree86036fde69c9bb29a22d7250b78b80b1fa1b2e8e /source3/smbd
parentc4a84783a672734f695defbac25733e5cbf29430 (diff)
downloadsamba-a2e5dbb1120e726ba80b00a159dad1a1ca2e3a18.tar.gz
samba-a2e5dbb1120e726ba80b00a159dad1a1ca2e3a18.tar.bz2
samba-a2e5dbb1120e726ba80b00a159dad1a1ca2e3a18.zip
Remove "BYTE" - we already have uint8 - don't need more conflicts with
system header files... Jeremy. (This used to be commit 31e0ce310ec38b3a3a05b344d6450d442c6be471)
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);