locking files (documents) when in use on a linux server/client network
I've searched all over the web on this but there's surprisingly little help out there.
I have an Ubuntu server and Ubuntu clients (all version 8.04). The Ubuntu server exports NFS shares which i can successfully mount on the clients via NFSv4 without a problem but the problem is when two users open the same openoffice file on the share, they can both open and edit it at the same time without warning, obviously this is not good.
How do i get the documents to lock when in use by another user?
Surely I'm not the only person to have a network with linux server and clients that needs documents to lock when in use! How have some of you other people managed it?