From 316269a07523a421755158540d2f4e22fa312866 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 26 Mar 2006 11:32:27 +0000 Subject: r14739: keep the last request time for the smbsrv_connection, smbsrv_session and smbsrv_tcon for management tools metze (This used to be commit 2c87f210e9e68de42dc45ca6532f3f33f4b6ce95) --- source4/smb_server/management.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/smb_server/management.c') diff --git a/source4/smb_server/management.c b/source4/smb_server/management.c index b55a9f7d57..17258cf6c6 100644 --- a/source4/smb_server/management.c +++ b/source4/smb_server/management.c @@ -63,6 +63,7 @@ static NTSTATUS smbsrv_session_information(struct irpc_message *msg, info->connect_time = timeval_to_nttime(&sess->statistics.connect_time); info->auth_time = timeval_to_nttime(&sess->statistics.auth_time); + info->last_use_time= timeval_to_nttime(&sess->statistics.last_request_time); i++; } @@ -102,6 +103,7 @@ static NTSTATUS smbsrv_tcon_information(struct irpc_message *msg, info->tid = tcon->tid; info->share_name = tcon->share_name; info->connect_time = timeval_to_nttime(&tcon->statistics.connect_time); + info->last_use_time= timeval_to_nttime(&tcon->statistics.last_request_time); i++; } -- cgit