From: Andrew Bartlett Date: Fri, 13 Jul 2012 00:01:44 +0000 (+1000) Subject: s3-auth Remove confusing reference to global_machine_password_needs_changing X-Git-Url: http://git.samba.org/?p=mat%2Fsamba.git;a=commitdiff_plain;h=d55cde19d31484079d69182fcaa9dfa889fd7fed s3-auth Remove confusing reference to global_machine_password_needs_changing This is in the trusted domain codepath, not the primary domain code path. Andrew Bartlett --- diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index 696b18bd42..82160bb4f9 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -493,14 +493,6 @@ static NTSTATUS check_trustdomain_security(const struct auth_context *auth_conte E_md4hash(trust_password, trust_md4_password); SAFE_FREE(trust_password); -#if 0 - /* Test if machine password is expired and need to be changed */ - if (time(NULL) > last_change_time + (time_t)lp_machine_password_timeout()) - { - global_machine_password_needs_changing = True; - } -#endif - /* use get_dc_name() for consistency even through we know that it will be a netbios name */