summaryrefslogtreecommitdiff
path: root/source/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-02-19 20:49:00 +0000
committerLuke Leighton <lkcl@samba.org>2000-02-19 20:49:00 +0000
commitb5aea3f2dec044dea7704835a0ad7f7a156578b7 (patch)
treea7faf4ca3bb979fa54f3767ac5efcb84b44824ef /source/smbd
parent5aa0c5cb59c0f1bab51979d55601e24e55f5fef1 (diff)
downloadsamba-b5aea3f2dec044dea7704835a0ad7f7a156578b7.tar.gz
removed code that used to set trust acct passwd from smbd.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/process.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/source/smbd/process.c b/source/smbd/process.c
index bb52b884170..0af59cd345f 100644
--- a/source/smbd/process.c
+++ b/source/smbd/process.c
@@ -812,8 +812,6 @@ void smbd_process(void)
int last_keepalive=0;
int service_load_counter = 0;
BOOL got_smb = False;
- BOOL trust_pwd_needs_changing = False;
- NTTIME ntlct;
if (deadtime <= 0)
deadtime = DEFAULT_SMBD_TIMEOUT;
@@ -910,28 +908,6 @@ void smbd_process(void)
return;
}
- if (msrpc_lsa_query_secret("\\\\.", "$MACHINE.ACC", NULL, &ntlct))
- {
- if (time(NULL) > nt_time_to_unix(&ntlct) + lp_machine_password_timeout())
- {
- trust_pwd_needs_changing = True;
- }
- }
-
- if(trust_pwd_needs_changing)
- {
- unsigned char trust_passwd_hash[16];
-
- /*
- * We're in domain level security, and the code that
- * read the machine password flagged that the machine
- * password needs changing.
- */
-
- generate_random_buffer( trust_passwd_hash, 16, True);
- msrpc_lsa_set_secret("\\\\.", "$MACHINE.ACC", trust_passwd_hash, 16);
- }
-
/*
* Check to see if we have any blocking locks
* outstanding on the queue.