Ensure we keep last_access up to date when processing a request.
authorJeremy Allison <jra@samba.org>
Mon, 20 Aug 2012 22:21:26 +0000 (15:21 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 23 Aug 2012 18:17:30 +0000 (20:17 +0200)
source3/winbindd/winbindd.c

index 15aafebf725440419e84d089234352a03e3ef452..c97ca08d39ef85053447abae0b110b6ffd1ff109 100644 (file)
@@ -588,6 +588,7 @@ static void process_request(struct winbindd_cli_state *state)
 
        state->cmd_name = "unknown request";
        state->recv_fn = NULL;
+       state->last_access = time(NULL);
 
        /* Process command */