Remove MAX_SESS_ENTRIES and MAX_CONN_ENTRIES limits
commitecd935a4fada0737fe09ba20cb33b5304132e13b
authorJeremy Allison <jra@samba.org>
Thu, 22 May 2008 23:23:07 +0000 (22 16:23 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 23 May 2008 07:11:54 +0000 (23 09:11 +0200)
tree74cd0b1022229f172daf2e419baa4a885143d0e8
parentb5991e02c931a92d35ebc9ff8b204c564a0c759f
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.
(cherry picked from commit edf73a97f674d4cb30f20b0cc3d6e6b43b4ca3eb)
source/rpc_server/srv_srvsvc_nt.c