s3-auth Remove confusing reference to global_machine_password_needs_changing
[mat/samba.git] / source3 / auth / auth_domain.c
index 696b18bd4207f50a3e3048645d47d2d13e8f8512..82160bb4f9c60df572c38bb72b2b7de14fb2ec0e 100644 (file)
@@ -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 */