summaryrefslogtreecommitdiff
path: root/source3/smbd/ipc.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-14 10:32:43 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-14 18:13:31 +0200
commit47f837c105ee7b70b7e80e41772b7c9470bbe153 (patch)
tree89d577d7b125953e008ee5fd6cc81006593812de /source3/smbd/ipc.c
parent5662166b231f64ba2003f917057b8ffb8886b8bc (diff)
downloadsamba-47f837c105ee7b70b7e80e41772b7c9470bbe153.tar.gz
samba-47f837c105ee7b70b7e80e41772b7c9470bbe153.tar.bz2
samba-47f837c105ee7b70b7e80e41772b7c9470bbe153.zip
s3:smbd: add a fsp_persistent_id() function
This calculates a 64-bit value that most likely uniquely identifies the files_struct globally to the server. * 32-bit random gen_id * 16-bit truncated open_time * 16-bit fnum (valatile_id) Based on code from Ira Cooper. Use fsp->fh->gen_id as the persistent fileid in SMB2. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
Diffstat (limited to 'source3/smbd/ipc.c')
0 files changed, 0 insertions, 0 deletions