From 15fedb3c6855751678e93e3f4a7e443b0495b1c3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 13 Jul 2012 11:01:47 +1000 Subject: s3-auth Remove unused global_machine_account_needs_changing This boolean was only set if the old machine account store (with an MD4 hash in it) was returned. We have not set that password type for years. If this call ever worked, it would store a plaintext password, so we could only ever be here if we had set a password using a version of Samba so old as not to store plaintext, and then never honered the flag anyway. Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Fri Jul 13 07:52:40 CEST 2012 on sn-devel-104 --- source3/smbd/process.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index f8757faae0..80b0c1d79b 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -41,8 +41,6 @@ #include "lib/id_cache.h" #include "serverid.h" -extern bool global_machine_password_needs_changing; - /* Internal message queue for deferred opens. */ struct pending_message_list { struct pending_message_list *next, *prev; @@ -2581,9 +2579,6 @@ static bool housekeeping_fn(const struct timeval *now, void *private_data) /* check if we need to reload services */ check_reload(sconn, time_mono(NULL)); - /* Change machine password if neccessary. */ - attempt_machine_password_change(); - /* * Force a log file check. */ -- cgit