1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

made a couple of local fns static

(This used to be commit f0851202a8)
This commit is contained in:
Andrew Tridgell 2001-09-10 11:23:41 +00:00
parent 39b24e4865
commit 11bd06e99c
3 changed files with 13 additions and 7 deletions

View File

@ -134,7 +134,7 @@ static BOOL check_user_equiv(char *user, char *remote, char *equiv_file)
/****************************************************************************
check for a possible hosts equiv or rhosts entry for the user
****************************************************************************/
BOOL check_hosts_equiv(char *user)
static BOOL check_hosts_equiv(char *user)
{
char *fname = NULL;
pstring rhostsfile;

View File

@ -134,7 +134,7 @@ static BOOL check_user_equiv(char *user, char *remote, char *equiv_file)
/****************************************************************************
check for a possible hosts equiv or rhosts entry for the user
****************************************************************************/
BOOL check_hosts_equiv(char *user)
static BOOL check_hosts_equiv(char *user)
{
char *fname = NULL;
pstring rhostsfile;

View File

@ -52,6 +52,12 @@
extern int DEBUGLEVEL;
extern struct passdb_ops pdb_ops;
static BOOL check_oem_password(char *user,
uchar * lmdata, uchar * lmhash,
uchar * ntdata, uchar * nthash,
SAM_ACCOUNT **hnd, char *new_passwd,
int new_passwd_size);
#if ALLOW_CHANGE_PASSWORD
static int findpty(char **slave)
@ -704,11 +710,11 @@ BOOL pass_oem_change(char *user,
but does use the lm OEM password to check the nt hashed-hash.
************************************************************/
BOOL check_oem_password(char *user,
uchar * lmdata, uchar * lmhash,
uchar * ntdata, uchar * nthash,
SAM_ACCOUNT **hnd, char *new_passwd,
int new_passwd_size)
static BOOL check_oem_password(char *user,
uchar * lmdata, uchar * lmhash,
uchar * ntdata, uchar * nthash,
SAM_ACCOUNT **hnd, char *new_passwd,
int new_passwd_size)
{
static uchar null_pw[16];
static uchar null_ntpw[16];