Subscribe

How to set explicit locks?

Hi,

I need to implement three independent functions: LOCK, UNLOCK, REFRESH_LOCK. Yes, those are the functions required by WebDAV. But for different reasons I can't use the WebDAV modules provided by Data OnTAP.

Those locks need to based on lock tokens and need to be removed after a specific timeout.

Does anybody know how to implement those functions via CIFS or the NetApp SDK?

Re: How to set explicit locks?

CIFS or NFS provide a way to lock a file on opening time. But what I am looking for is a single LOCK command and a separate UNLOCK (which can only be executed by the user which set the LOCK - or e.g. an administrator)