[Samba] Weird behaviour opening pdf files (and maybe others)

Alexandre alxgomz at gmail.com
Thu Jul 14 18:19:18 UTC 2016


I think this was the previous settings.
The smb.conf man page seemed to recommend oportunistic locking when using
NFS with samba so I added both of this options myself. But reading through
the man again I may have missunderstood it. I'm going to give your
suggestion a try and let you know.

Thank you.

2016-07-14 20:11 GMT+02:00 Jeremy Allison <jra at samba.org>:

> On Thu, Jul 14, 2016 at 07:51:02PM +0200, Alexandre wrote:
> > I also set "veto oplock files = /*.pdf/" at share level
> >
> > 2016-07-14 19:46 GMT+02:00 Alexandre <alxgomz at gmail.com>:
> >
> > > Actually I have "kernel oplock = yes" set in the global section.
>
> Both those "kernel oplock = yes", "veto oplock files = /*.pdf/"
> are exactly what you *don't* want :-).
>
> As Volker said, set "kernel oplocks = no" and remove
> the "veto oplock files" line and you might actually
> *get* oplocks on these files.
>


More information about the samba mailing list