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>
Fri, 21 Sep 2012 07:44:42 +0000 (09:44 +0200)
(cherry picked from commit e01df21a5dbe8f3d401d58de6cffa4d4ba340a24)

source3/winbindd/winbindd.c

index ca5a53be7f7d9ade913eaf725f6e7c47e9a04943..a990342a6a994017bfe6753355c8f636e77130d1 100644 (file)
@@ -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 */