Remove MAX_SESS_ENTRIES and MAX_CONN_ENTRIES limits
authorJeremy Allison <jra@samba.org>
Thu, 22 May 2008 23:23:07 +0000 (16:23 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 22 May 2008 23:23:46 +0000 (16:23 -0700)
commitedf73a97f674d4cb30f20b0cc3d6e6b43b4ca3eb
tree552cefc1d6b9ea6f5785327c6d7f0dac1f3415c6
parent40548ba51c93de1e2b8a29be07e2f53540f4e9d4
Remove MAX_SESS_ENTRIES and MAX_CONN_ENTRIES limits
as they are no longer needed now we have IDL marshalling.
Change the calculation of the 32-bit fileid we return
to a Windows client. We can't just use the generation
count as it starts at zero for every smbd - and this
command must enumerate all files open across all smbds.
We'd really like combination of process-id + dev + inode +
generation count to be unique, but as we can't fit that
into 32 bits just use 16 bits of pid + generation count.
Jeremy.
source/rpc_server/srv_srvsvc_nt.c