[Samba] Samba not locking files

Marcio Oli marcio.oli.df at gmail.com
Sat Oct 20 06:25:20 MDT 2012


I'm sorry Marko, I don't know. I gave that suggestion, because, in my case,
almost everything is default in my smb.conf and it's working ok.

2012/10/19 Marko R <markoradi at yahoo.com>

> HI Marcio,
>
> The only reason why I added those is because I was never getting
> information that file is in use.
>
> Could it be some sort of bug?
>
> Thank you for your help.
>
>
>
>   ------------------------------
> *From:* Marcio Oli <marcio.oli.df at gmail.com>
> *To:* samba at lists.samba.org
> *Sent:* Thursday, October 18, 2012 5:02 PM
> *Subject:* Re: [Samba] Samba not locking files
>
>     I don't know, but you could try to change the parameters "strict
> locking" and "locking" to the default values or just remove them from
> smb.conf. I think that these actions can solve the problem. After, tell us
> a feedback!
>
> Thanks,
> Marcio.
>
> 2012/10/18 Marko R <markoradi at yahoo.com>
>
> > Hello,
> >
> > I created the following samba share but for some reason samba is not
> > locking the files open by other users. For example user dave open a file
> in
> > the share and user slav does not get the notification that opened file is
> > already being used by another user. I even added the locking options to
> the
> > global but no luck.
> >
> > [share]
> > comment = Main share
> > path = /share
> > guest ok = no
> > writable = yes
> > create mask = 0775
> > directory mask = 0755
> > browsable = yes
> > write list = dave  slav
> > force group = users
> > oplocks = yes
> > level2 oplocks = yes
> > strict locking = yes
> > locking = yes
> >
> > System I am using is Ubuntu 12.04 LTS 64bit Server.
> >
> > Thanks for any help or advise.
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >
>
>
>
> --
> Marcio Oliveira.
> "Tudo concorre para o bem daqueles que amam à Deus." (Rom 8,28)
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
>
>


-- 
Marcio Oliveira.
"Tudo concorre para o bem daqueles que amam à Deus." (Rom 8,28)


More information about the samba mailing list