Samba and kernel oplocks

Stephen Lee
2002-08-27T22:55:38Z

Hi,

I am running a Foxpro application under Dosemu 1.1.3.2 (xdosemu) with
the keyboard patches and things seem to be running smoothly. Problems
occur when some users access the same Foxpro db files via Samba 2.2.4.
Files locked under Dosemu/Foxpro are not locked when accessed by Samba.
Some of the samba config settings include:

kernel oplocks = yes
locking = Yes
oplocks = Yes
level2 oplocks = Yes
oplock contention limit = 2
posix locking = Yes
strict locking = No

This is a Redhat 7.2 systems running kernel 2.4.18. What else do I need
to configure to get Dosemu file locks recognized by Samba?

Thanks,
Stephen