summaryrefslogtreecommitdiff
path: root/source3/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-10 11:23:41 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-10 11:23:41 +0000
commit11bd06e99c34a1805a3708321997633349e2dae7 (patch)
treefe8b0716a4bdcc89256f895883a4de113702ae62 /source3/smbd/chgpasswd.c
parent39b24e486583ec9d779c95dbf783b54daad054f0 (diff)
downloadsamba-11bd06e99c34a1805a3708321997633349e2dae7.tar.gz
samba-11bd06e99c34a1805a3708321997633349e2dae7.tar.bz2
samba-11bd06e99c34a1805a3708321997633349e2dae7.zip
made a couple of local fns static
(This used to be commit f0851202a852bed28fbd2446b44ce2b977ddacd8)
Diffstat (limited to 'source3/smbd/chgpasswd.c')
-rw-r--r--source3/smbd/chgpasswd.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index 030c69bd4a..8dff2f7d81 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -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];