summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-07-17 08:34:12 +0000
committerSimo Sorce <idra@samba.org>2001-07-17 08:34:12 +0000
commit0cf44bb3476279e1db878b0793aa04b6bcc44a91 (patch)
treedfe4f501690851c28e631014f1e59393e959d9b8
parent3015fde98080ae0a1c4a4a68df552655a059742e (diff)
downloadsamba-0cf44bb3476279e1db878b0793aa04b6bcc44a91.tar.gz
samba-0cf44bb3476279e1db878b0793aa04b6bcc44a91.tar.bz2
samba-0cf44bb3476279e1db878b0793aa04b6bcc44a91.zip
move the global_machine_password_needs_changing where we need it.
(This used to be commit 8a2f6fbacd275acc7b356169f4022df4860a813e)
-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="";