locking: add share mode checking with Netatalk