diff options
author | Michael Adam <obnox@samba.org> | 2012-10-19 16:00:05 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-10-19 18:56:19 +0200 |
commit | 7d05ff77264cf48d1ee82ca19c8c7e6951e64cf5 (patch) | |
tree | 3b60790b5c0d2926cd55c43834a4dc44fd33daa0 /source3/winbindd/idmap_rid.c | |
parent | a6726f9023c899415441a619473ea9a7819d7c36 (diff) | |
download | samba-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/winbindd/idmap_rid.c')
0 files changed, 0 insertions, 0 deletions