summaryrefslogtreecommitdiff
path: root/source4/smb_server/management.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-18 12:38:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:26 -0500
commit3f968be9d55986666c13f3ef4f54e8e1796b1539 (patch)
tree1b3746edc2736d202d0c3d4ac70cf46ec8561137 /source4/smb_server/management.c
parent509be8d902038ec2a75ece5fd28d43d73218f0b2 (diff)
downloadsamba-3f968be9d55986666c13f3ef4f54e8e1796b1539.tar.gz
samba-3f968be9d55986666c13f3ef4f54e8e1796b1539.tar.bz2
samba-3f968be9d55986666c13f3ef4f54e8e1796b1539.zip
r11782: - make the TID 32bit in the smbsrv_tcon structure, as SMB2 uses
them - add a idtree_limit to the tcons substructure of smbsrv_connection this controls what the highest TID is we give away to the client it's UINT16_MAX (0xFFFF) for the SMB protocol metze (This used to be commit f3bf5a2c0947e33d4167fa4fa290968204a826e8)
Diffstat (limited to 'source4/smb_server/management.c')
-rw-r--r--source4/smb_server/management.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/management.c b/source4/smb_server/management.c
index 23680be112..9f22ee94e8 100644
--- a/source4/smb_server/management.c
+++ b/source4/smb_server/management.c
@@ -82,7 +82,7 @@ static NTSTATUS smbsrv_tcon_information(struct irpc_message *msg,
struct smbsrv_tcon_info *info = &r->out.info.tcons.tcons[i];
info->tid = tcon->tid;
info->share_name = lp_servicename(tcon->service);
- info->connect_time = timeval_to_nttime(&tcon->connect_time);
+ info->connect_time = timeval_to_nttime(&tcon->statistics.connect_time);
info->client_ip = socket_get_peer_addr(smb_conn->connection->socket, r);
i++;
}