summaryrefslogtreecommitdiff
path: root/source4/smb_server/receive.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/receive.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/receive.c')
-rw-r--r--source4/smb_server/receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/receive.c b/source4/smb_server/receive.c
index aa54d9867e..3ecd111af6 100644
--- a/source4/smb_server/receive.c
+++ b/source4/smb_server/receive.c
@@ -648,7 +648,7 @@ NTSTATUS smbsrv_init_smb_connection(struct smbsrv_connection *smb_conn)
status = smbsrv_init_sessions(smb_conn);
NT_STATUS_NOT_OK_RETURN(status);
- status = smbsrv_init_tcons(smb_conn);
+ status = smbsrv_init_tcons(smb_conn, UINT16_MAX);
NT_STATUS_NOT_OK_RETURN(status);
srv_init_signing(smb_conn);