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:07 +0000 (16:23 -0700)
commit8b926d5a93d04b828990057ae6f1e090764305c1
treeebaf0b006b4e85b5f2c1f8a21176bd7b1efe0acb
parenta65abb49cf8d291c7deb659912c0df34ec37da02
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