/****************************************************************************
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;
/****************************************************************************
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;
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)
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];