cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Mac OS X client accessing CIFS share

bpsommerville
Champ in-the-making
Champ in-the-making
Hi,

I've been evaluating Alfresco & am very impressed.  However I have one issue that I have been unable to solve.

Our environment has has linux servers & a mix of mac and windows clients. Alfresco is installed on a linux server (using the jboss bundle) & configured with ftp/webdav/CIFS access.

The Mac clients are able to connect & read from the CIFS share but get an error when copying files & folders onto the share.  The error only seems to occur when you copy a folder onto the CIFS drive using the Finder application.  When I do this the folder gets created in Alfresco but then Finder stops the copy complaining that the folder already exists.  None of the contents of the folder are copied.

There are no errors output by Alfresco at any point. 

I can access the CIFS share from the windows clients without any problems (read, copy, delete, etc all working).  I can also access individual files from the mac (read & write & create) & copy folders using the mac terminal window.

Has anyone else see this behaviour?


I did a tcpdump on the server to check the traffic & found one difference between Mac & windows.  When doing a folder copy via Finder the mac sends an SMB lock request, which is granted by the server.  Then I think it creats the folder & sends the content.  Then the mac sends an unlock request which fails.  The error code (DOS_ERROR 0x9e I think) seemed to indicate that the server fails the unlock because it thinks that no lock exists. This was the only error that I spotted in the SMB traffic so I suspect that it is the cause somehow.

Could this be a bug in Alfresco or is the Mac at fault?

thanks
Ben Sommerville
5 REPLIES 5

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

File locks are currently faked in the CIFS server, so it does not keep track of locks. The 0x9E status is 'not locked', this is likely causing problems with the Mac client.

Which version of Mac OS X are you using ?.

Cheers

Gary

bpsommerville
Champ in-the-making
Champ in-the-making
Hi Gary,

Sorry it took me so long to reply, too many things going on at the moment Smiley Sad

The Mac clients are running OX X  version 10.4.7

thanks
Ben

wdavidw
Champ in-the-making
Champ in-the-making
Same problem here, should a jira issue be posted?

nuandaeb
Champ in-the-making
Champ in-the-making
Here we are most than 18 months later, and I'm having the same problem.
I can't copy folders, but I can copy files using CIFS.

I'm using Mac OS X 10.4.11 and Alfresco Community 2.9B (on a unix server).

Has anyone made any progress on this issue?

gary_spencer
Champ in-the-making
Champ in-the-making
How are you copying the files/folders to the Alfresco CIFS drive, using Finder or some other UI app, or via the command line, in which case what's the full command ?

If you could get a packet trace (using Tcpdump or Wireshark) of a copy that triggers the problem that would be very useful. With Tcpdump you need to use the '-s 0' option to make sure it records the whole packet.

The latest code has file locking support, so it may be a different problem.