s3:vfs_default: add basic support for durable handle request and reconnect
authorMichael Adam <obnox@samba.org>
Fri, 8 Jun 2012 15:54:19 +0000 (17:54 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 8 Sep 2012 17:48:20 +0000 (19:48 +0200)
commiteabe4c8fc4f8ba7ac75ceb9924cd5a90ff14470d
treeba544598380ea8a5a96f8403179081e9e0f85601
parent1d012a6780c543620413b24237cb7e9b97a6e3bc
s3:vfs_default: add basic support for durable handle request and reconnect

We only grant durable handles for CIFS/SMB2 only access,
that means "kernel oplocks", "kernel share modes" and "posix locking"
need to be set to "no".

For now we also don't grant durable handles if delete on close
is active on the handle.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Pair-Programmed-With: Volker Lendecke <vl@samba.org>
source3/Makefile.in
source3/librpc/idl/open_files.idl
source3/modules/vfs_default.c
source3/smbd/durable.c [new file with mode: 0644]
source3/smbd/proto.h
source3/wscript_build