summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-08-13 10:34:52 -0700
committerJeremy Allison <jra@samba.org>2012-08-13 10:35:41 -0700
commitaaeb3f5d9b488dd55e47a3cc329b4cb226f2f0e1 (patch)
tree5c415b286a4aea5dbce804e38a11f0b11c247bb8
parentf7403d838f37f1d06a23d7ca573ebf6b0d692421 (diff)
downloadsamba-aaeb3f5d9b488dd55e47a3cc329b4cb226f2f0e1.tar.gz
samba-aaeb3f5d9b488dd55e47a3cc329b4cb226f2f0e1.tar.bz2
samba-aaeb3f5d9b488dd55e47a3cc329b4cb226f2f0e1.zip
Ensure we update last_access on the winbindd child struct on each request.
-rw-r--r--source3/winbindd/winbindd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 685ef48881..6d3fece7bd 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -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 */