From: Jeremy Allison Date: Mon, 20 Aug 2012 22:21:26 +0000 (-0700) Subject: Ensure we keep last_access up to date when processing a request. X-Git-Tag: samba-3.5.18~11 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=83148e290f436783dc24b7349be38e40049ce080 Ensure we keep last_access up to date when processing a request. (cherry picked from commit e01df21a5dbe8f3d401d58de6cffa4d4ba340a24) --- diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index ca5a53be7f7..a990342a6a9 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -566,6 +566,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 */