Gerald,
I had a very good response to your question from a member of the Samba Development team. Following is that coversation:
Samba response to your original post:
In reference to the posting reproduced below, suggest you contact e-smith
regarding this. You may have a locking problem here, e-smith disables
oplock support.
If you need further help, please contact me directly .
Cheers,
John T.
Samba response to me asking what this first message meant:
Greg,
Oplocks are essential to maintain file integrity between MS Windows
application uses in a multi-user environment.
OpLock support will allow MS Windows clients to cache file data and flush
it to the network server after either a time-out, a client oplock break
request via the network file server, or as part of the shutdown of the
client. This means that Linux/Unix applications will have NO control over
file integrity when that same file is being accessed simultaneously from
both MS Windows network clients and by Linux applications. Where the Linux
2.4.x kernel is used this has oplock break handling ability to solve this
problem.
e-smith disables oplock support by default. e-smith uses linux kernel
2.2.x which has no oplock support.
If you want file integrity you really MUST use oplock support for MS
Windows clients. That means that your Linux users should not even try to
access the same files.
One option you can use is to enable oplock support in the [globals]
section of the samba smb.conf file and then disable it only in a specific
share that requires concurrent Windows client and Linux application
access. This is the preferred way to solve your problem. So, check your
smb.conf file. Also, I strongly recommend that you use SWAT to optimise
your smb.conf file and to eliminate all unnecessary entries. SWAT deletes
all entries in smb.conf that are at their default settings.
You should take this up with e-smith for resolution though. I have already
brought the locking issue to the attention of Charlie Brady at e-smith so
feel free to mention my name.
If you need further help please do not hesitate to call.
Cheers,
John T.
There you have it. Since even the new V5.0 of e-smith uses the 2.2 kernal, looks like this will be an issue for some time.
Regards,
Greg