summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-10-19 16:00:05 +0200
committerStefan Metzmacher <metze@samba.org>2012-10-19 18:56:19 +0200
commit7d05ff77264cf48d1ee82ca19c8c7e6951e64cf5 (patch)
tree3b60790b5c0d2926cd55c43834a4dc44fd33daa0 /source3/printing
parenta6726f9023c899415441a619473ea9a7819d7c36 (diff)
downloadsamba-7d05ff77264cf48d1ee82ca19c8c7e6951e64cf5.tar.gz
samba-7d05ff77264cf48d1ee82ca19c8c7e6951e64cf5.tar.bz2
samba-7d05ff77264cf48d1ee82ca19c8c7e6951e64cf5.zip
s3:smbd:durable: store stat info for disconnected durables and check at reconnect.
At durable reconnect, we check the stat info stored in the cookie against the current stat data from the file we just opened. If any detail differs, we deny the durable reconnect, because in that case it is very likely that someone opened the file while the handle was disconnected, which has to be interpreted as an oplock break. Pair-programmed-with: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Oct 19 18:56:19 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/printing')
0 files changed, 0 insertions, 0 deletions