summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/smbpassfile.c2
-rw-r--r--source3/smbd/password.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/smbpassfile.c b/source3/passdb/smbpassfile.c
index f995d8fd4b..3f3e2332a0 100644
--- a/source3/passdb/smbpassfile.c
+++ b/source3/passdb/smbpassfile.c
@@ -30,8 +30,6 @@
extern int DEBUGLEVEL;
extern pstring global_myname;
-BOOL global_machine_password_needs_changing = False;
-
static int mach_passwd_lock_depth;
static FILE *mach_passwd_fp;
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index e905d9207f..fb9c39bde4 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -25,6 +25,8 @@ extern int DEBUGLEVEL;
extern int Protocol;
extern struct in_addr ipzero;
+BOOL global_machine_password_needs_changing = False;
+
/* users from session setup */
static pstring session_users="";