Mac OS X Server

Disable SMB in Mac OS X Server

To disable oplocks in SMB, edit the /etc/smb.conf file, adding the following in the global section:
oplocks = False
level2 oplocks = False