summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-13 10:01:44 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-13 06:00:17 +0200
commitd55cde19d31484079d69182fcaa9dfa889fd7fed (patch)
tree1210df19a61404dfa5b534af9927a1e130828d22 /source3/auth
parent70de501d6a628e8b08a93134753e25e9f037c995 (diff)
downloadsamba-d55cde19d31484079d69182fcaa9dfa889fd7fed.tar.gz
samba-d55cde19d31484079d69182fcaa9dfa889fd7fed.tar.bz2
samba-d55cde19d31484079d69182fcaa9dfa889fd7fed.zip
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
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_domain.c8
1 files changed, 0 insertions, 8 deletions
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 */