OS X Finder, from version 10.5 forward, will not allow you to mount local CIFS shares. For example, if you are running Alfresco on your Mac and you want to mount a CIFS share from this instance of Alfresco, it with return a Connection failed error: 'This file server is running on your local machine. Please access the volumes and files locally.'
You can mount the drive locally, but you need remove Finder from the equation.
These instructions assume you're running Alfresco as a root user:
Q: When I try to mount the share, I get: mount_smbfs: mount error: /some/path: Unknown error: -1
A: Your mount point should be readable and writable by you. If you created the mount point in finder this should already be done for you. If you created the mount point from the command line and you do not own the directory:
chown username:group ~/alfresco
Q: I am unable to mount the share locally, but I can mount it on other machines.
A: If you are using port forwarding, your rule for localhost connections may not be forwarding these connections correctly. Try connecting using