Offline files and a SAMBA share under Mac OS X
Good day!I've spent quite some time on google but it didn't come up with a solution to my problem. The search function of this forum didn't provide me with an answer either.What I was trying to do is using Vista's offline file functionality to sync my PC with the data stored on my Apple Mac. So I shared my data folder on the Mac (which works perfectly fine, ie. I can access this shared folder from my Vista machine, reading from and writing to it) and I made it available offline in Vista. When I do this I get a whole lot of sync errors, one for each shared file, telling me that the respective file couldn't be accessed because there was another process acting on it. Strangely, an offline copy seems to be created anyway as the CSC cache becomes the exact size of the shared files.Unfortunately, Vista refuses to let me work on this cached version in offline mode. It does give me the small, green offline icons for every file in explorer but it says at the same time in the file details that none of them were available offline.What could be the reason for the sync error I get? And does anyone have more detailed information on the offline files mechanism in Vista regarding the compatibility with different file systems, such as HFS+? Is there maybe a trick to make Windows ignore the sync errors and let me access the (possibly present) CSC cache?Thanks for your help!
December 7th, 2007 4:41pm

Hi, Thank you for your post. Before we go further, I would like to confirm if there are other client machines in this environment. If so, can they synchronize the share files with the Apple Mac machine properly? Please perform the following steps and to troubleshoot the issue: 1. Perform a clean boot on the Windows Vista machine:------------------------a. Click Start, type msconfig in the Start Search box, and press Enter.b. On the General tab, click Selective Startup.c. Under Selective Startup, and click to clear the Load Startup Items check box.d. Click the Services tab, click to select the Hide All Microsoft Services check box, and then click Disable All.e. Click OK, and then click Restart. 2. Please reboot the Apple Mac machine at the same time. 3. After that, please try to sync the share files to check the result. By the way, I would like to confirm if Timeslips 2005 is installed on the computers. If so, please temporarily uninstall the product, since I found a similar case in our internal database and the culprits is Timeslips 2005. Hope it helps. Sincerely, Joson Zhou Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
December 11th, 2007 12:36pm

Thanks for your reply.Ok, here we go. There are other machines on our network, all running Windows XP. I had already tried to make their shared folders available offline on my Vista machine: successfully.Now, I did as you said and used XP's offline folders to synchronize with the Mac. To my surprise, this works! So, apparently XP's offline folders like Mac shares, and Vista's offline files like XP shares. But still, and even after the clean boot you proposed, Vista offline files and the shared folders on my Mac don't go together. I think the alien HFS+ filesystem is not the problem here. The SMB protocol should mask out the underlying FS. Please correct me if I am wrong here. Then, the problem must be caused by an incompatibility in the SMB implementation, either on the OS X or on the Vista side.Besides, Timeslips is not running on my system.Any other suggestions?Thanks in advance,pp23
December 12th, 2007 2:40pm

Hi, Thank you for your response. Based on the current situation, please perform the following steps to further confirm the issue: 1. Disable SMB Signing on the Windows Vista machine:-----------------------Please refer to the session Policy locations for SMB signing in the KB article 887429 (http://support.microsoft.com/kb/887429) to disable SMB Signing by using Local Group Policy. After that, please try to sync the share folder on Mac again. 2. Please refer to the KB article 296264 (http://support.microsoft.com/kb/296264/en-us) to check if opportunistic locking is turned off on Windows Vista machine. In addition, please check if there is any event in the event viewer. (Applications and Services Logs > Microsoft > Windows > OfflineFiles) Hope it helps, I look forward to your reply. Sincerely, Joson Zhou Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
December 13th, 2007 1:26pm

Hi,thanks for your assitance!Here's what I have found so far:to 1. I've disabled SMB signing by setting in the GPO editor: Microsoft network client: Digitally sign communications (always) Security Setting: DISABLEDMicrosoft network client: Digitally sign communications (if server agrees) Security Setting: DISABLED I then dis- and reconnected to the SMB share on the Mac=> No change, same errors as before during initial sync: "The process cannot access the file because it is being used by another process."to 2. I tried to find out if opportunistic locking was on or not, but the following registry key mentioned in the KB article doesn't exist HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters\Neither is there a value EnableOplocks in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Creating this first key and adding a value DisableOplocks=1, then rebooting, didn't help.In the event viewer, there is no OfflineFiles entry in Applications and Services Logs > Microsoft > WindowsCan we tell anything from these results? What else could I do now?Best regards,pp23
December 13th, 2007 10:34pm

Hi, Thank you for your efforts invested on this issue, and I appreciate your patience. Please understand that it may take a lot time to troubleshoot this kind of issue, especially when third party operating system is involved. Please perform the following steps: 1. Install the following hotfix orderly to upgrade the cscsvc.dll:http://support.microsoft.com/?id=935663http://support.microsoft.com/kb/938092http://support.microsoft.com/?id=941067Please request the hotfix through the following link:https://support.microsoft.com/contactus2/emailcontact.aspx?scid=sw;en;1410&WS=hotfix 2. Please reset the CSC database using the steps in the KB article 934160 (http://support.microsoft.com/?id=934160). Note. The steps will delete other offline cache files stored on the computers. After that, please check if the issue is resolved. If it persists, please perform the following steps to collect OfflineFiles event log: 1. Open Event Viewer (eventvwr.exe), and expand Applications and Services Logs > Microsoft > Windows. 2. Right-click OfflineFiles, click View and check Show Analytic and Debug Logs. 3. Right-click each item under OfflineFiles and click Enable Log. 4. Reproduce the issue. 5. Export the OfflineFile event log (Right-click each item under OfflineFiles and click Save Events As) 6. Upload the exported event files to the following space:https://sftasia.one.microsoft.com/choosetransfer.aspx?key=a48a6b2f-db7f-4f7e-b721-584f30e2e26ePassword: PE7H%jeuP*T6Uxr Thanks. I look forward to your reply. Sincerely, Joson Zhou Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
December 17th, 2007 12:57pm

Hi,installing the above hotfixes and resetting the CSC cache unfortunaltely didn't help.So I've uploaded the log files you requested, only the synclog.evtx of which seems to be of interest.Let me know if I can do anything else.Thanks for your help,pp23
December 21st, 2007 5:51pm

Hi, Thank you for the time and effort you invested on this issue. I have checked the event log. It seems that the event logs is not in English. Please understand that this forum is geared to answer the questions regarding the product of English version. As this issue needs specific analysis on the log files, for the product of other languages, the local support can be a better resource for troubleshooting. As a result, please confirm which language version of Windows Vista is being used in the environment so that I can provide the contact information of the appropriate support. Thank you for your understanding and cooperation. Have a nice day. Sincerely, Joson Zhou Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
December 24th, 2007 12:58pm

Happy New Year!Too bad, I felt already close to a solution. I have the German version of Windows Vista. Would be nice if you could post the right contact for me.Thanks for your efforts anyway!Best regards,pp23
January 2nd, 2008 3:48pm

Hi pp23, Happy New Year! This is the link of our Newsgroup providing Windows Vista support in German: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?guid=3F4BA107-AE96-9A21-A3DE-759F2021C96E In addition, you are welcome to contact our CSS to obtain an instant assistance. To obtain the phone numbers for specific technology request, please click the following link and select a location under Contact Information: http://www.microsoft.com/worldwide/ I hope that the issue will be resolved soon. Sincerely, Joson Zhou Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
January 3rd, 2008 11:19am

The solution to my problem was to enable opportunistic locking (oplocks) on the SAMBA server. I simply turned this feature on using the SWAT interface that comes with the SAMBA distribution. However, I'm a bit confused about my SAMBA configuration under Mac OS X. I'm not sure if the builtin (and minimalistic) CIFS/SMB support of Mac OS X relies on the open source SAMBA distribution installed on my system. Currently, I have three ways of manipulating my shares: 1) Apple's builtin preference pane, 2) The SharePoints preference pane and 3) the swat http interface.All of these seem to act independently on the smb.conf file which I find somewhat messy. After all, I got offline files to work which fortunately concludes this thread.
March 5th, 2008 1:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics