rename parent directory and v2 lease breaks

Steve French smfrench at gmail.com
Fri Mar 6 19:42:42 MST 2015


On Wed, Mar 4, 2015 at 12:23 AM, Stefan (metze) Metzmacher <metze at samba.org>
wrote:

> Am 04.03.2015 um 06:54 schrieb Volker Lendecke:
> > On Tue, Mar 03, 2015 at 02:41:31PM -0600, Steve French wrote:
> >> I was testing Samba 4.2 and noticed that renaming the parent directory
> >> did not trigger a v2 lease break for files opened in that directory
> >> (it looks like Windows does send one though).
> >>
> >> Shouldn't rename of the parent directory trigger a lease break for
> >> open files in the directory?
> >
> > Yes, it should. But we don't do that right now because it
> > would require a full traverse of locking.tdb.
>
> "strict rename = yes" should handles that, correct?
>

I added

strict rename = yes

to that share's section of the server's smb.conf (Samba 4.2) and it did not
make a difference in whether a lease break was sent (no lease break was
sent from Samba)


-- 
Thanks,

Steve


More information about the samba-technical mailing list