[Samba] samba 2.2.8a + Locking + Record not available

Andrew Bartlett abartlet at samba.org
Mon Jan 26 20:42:33 GMT 2004


On Mon, 2004-01-26 at 22:54, shaf sum wrote:
> --- Andrew Bartlett <abartlet at samba.org> wrote:
> > On Mon, 2004-01-26 at 18:28, shaf sum wrote:
> > > Hello everybody
> > > 
> > > Since 1 week i saw at the client side displaying
> > > "Record not available" when our client try to
> > access
> > > the FoxPro database found on the file server.  It
> > > happens every day in the morning before the users
> > > start working.  I need to restart the server and
> > it
> > > becomes normal.  
> > > 
> > > Could someone please tell how could i resolve it? 
> > Can
> > > we solve it through Locking and how????
> > 
> > You might want to ensure you have oplocks turned off
> > for your foxpro
> > files.  Best option to use is 'veto oplocks' on the
> > foxpro file
> > extensions.
> 
> But how can i do that.  I need to modify
> /etc/samba/smb.conf and in the global section, i need
> to add 
> 
> veto oplocks files = *.dbf, *.cdx, *.sel ???

If you had read the manpage you would have seen the example of how to
construct the list.

veto oplock files = /*.dbf/*.cdx/*.sel/

should do it.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040127/bc649705/attachment.bin


More information about the samba mailing list