Ensure we update last_access on the winbindd child struct on each request.
authorJeremy Allison <jra@samba.org>
Mon, 13 Aug 2012 17:34:52 +0000 (10:34 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 13 Aug 2012 17:35:41 +0000 (10:35 -0700)
source3/winbindd/winbindd.c

index 685ef488818e70617b96424558b3dd54019203dc..6d3fece7bd9ec74b4660c50c411a8df67eb2f23c 100644 (file)
@@ -621,6 +621,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 */