Win7 Offline Files sync error after upgrade to Lion Server 10.7.2
Symptom: client is a Win7 laptop, the server is Mac OS X 10.7.3 Lion Server with SMB and AFP shares. Win7 Offline Files stopped working after I upgraded Snow Leopard (non-server version) to Lion Server 10.7.2. After updating to 10.7.3, the problem persists. When syncing, it gives thounsands of error like this: The process cannot access the file because it is being used by another process. WinXP clients are fine with the Offline Files function though.
I Googled and studied online for several days now and it might be related to the "Oppurtunistic Locking", or "Oplocks" for short, in the SMB protocol. Since Apple has re-written Samba, there's no "smb.conf" anymore to change the Oplocks setting. Maybe it's possible to change the setting in "com.apple.smb.server.plist"?
From the Internet:
1. Oplocks should be DISABLED on the server if there is any other file sharing protocol (AFP, etc.) other than SMB.
2. Offline Files will NOT work properly if Oplocks is disabled on the server side.
3. It was possible to config oplocks setting in smb.conf in Mac OS X versions prior to Lion but now there's no such config file.
My Question:
1. Does anyone else have similar problems?
2. Is it related to the Oppurtunistic Locking thing?
3. Is Oppurtunistic Locking enabled or disabled in Lion Server by default?
4. If it's related to Oplocks, how can I change the setting on the server?
5. I've noticed that the authentication from Windows PCs to the SMB share on the Lion Server is much slower then in SL. Could this somehow be related to my problem?
Thanks for your time! :-D
Mac mini, Mac OS X (10.7.3), Lion Server