AnsweredAssumed Answered

Unable to connect to CIFS from Mac

Question asked by murfy on Sep 11, 2013
Latest reply on Sep 24, 2013 by murfy
Hello all,

I configured Alfresco on a CentOS environment and all is working fine.
Users can login to the web interface using their Active Directory account, Windows users can map a network drive and access the files, so far so good.

However from my Mac I am unable to connect to CIFS in any way.
I've been searching for a solution for a few weeks (not non-stop of course), and I'm just stuck :)

This is the current alfresco-global.properties:

ir.root=/var/alfresco

alfresco.context=alfresco
alfresco.host=docs.stardekk.be
alfresco.port=443
alfresco.protocol=https

share.context=share
share.host=docs.stardekk.be
share.port=443
share.protocol=https

### database connection properties ###
db.driver=org.gjt.mm.mysql.Driver
db.username=alfresco
db.password=SNIPPEDPASSWORD
db.name=alfresco
db.url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8

### SMTP (temporary disabled) ###
mail.host=fcs1.stardekk.local
mail.from.default=operations@stardekk.be

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=/opt/alfresco/libreoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
img.root=/opt/alfresco/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco/common/bin/pdf2swf
swf.languagedir=/opt/alfresco/common/japanese

jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco/libreoffice
jodconverter.portNumbers=8100

### Initial admin password ###
alfresco_user_store.adminpassword=74f411ea957373ff9c92d9cc03d8a483

### E-mail site invitation setting ###
notification.email.siteinvite=false

### License location ###
dir.license.external=/opt/alfresco

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443

### BPM Engine ###
system.workflow.engine.jbpm.enabled=false

### Authentication ###
authentication.chain=passthru1:passthru,ldap1:ldap

### Synchronization Settings (no authentication) ###
ldap.authentication.active=false
ldap.authentication.java.naming.security.authentication=simple
ldap.authentication.userNameFormat=%s@stardekk.local
ldap.authentication.allowGuestLogin=true
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.authentication.java.naming.provider.url=ldap://192.168.123.254:389
ldap.authentication.java.naming.security.principal=STARDEKK\\ldap-connection
ldap.authentication.java.naming.security.credentials=SNIPPEDPASSWORD
ldap.authentication.escapeCommasInBind=false
ldap.authentication.escapeCommasInUid=false

ldap.synchronization.active=true
ldap.synchronization.java.naming.security.principal=STARDEKK\\ldap-connection
ldap.synchronization.java.naming.security.credentials=SNIPPEDPASSWORD
ldap.synchronization.groupQuery=(&(objectclass\=group)(memberOf:1.2.840.113556.1.4.1941:\=CN=Alfresco Users,OU=Security Groups,OU=MyBusiness,DC=stardekk,DC=local))
ldap.synchronization.groupDifferentialQuery=(&(objectclass\=group)(memberOf:1.2.840.113556.1.4.1941:\=CN=Alfresco Users,OU=Security Groups,OU=MyBusiness,DC=stardekk,DC=local)(!(modifyTimestamp<\={0})))
ldap.synchronization.personQuery=(&(objectclass\=user)(memberOf:1.2.840.113556.1.4.1941:\=CN=Alfresco Users,OU=Security Groups,OU=MyBusiness,DC=stardekk,DC=local))
ldap.synchronization.personDifferentialQuery=(&(objectclass\=user)(memberOf:1.2.840.113556.1.4.1941:\=CN=Alfresco Users,OU=Security Groups,OU=MyBusiness,DC=stardekk,DC=local)(!(modifyTimestamp<\={0})))
ldap.synchronization.groupSearchBase=DC\=stardekk,DC\=local
ldap.synchronization.userSearchBase=DC\=stardekk,DC\=local
ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp
ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'
ldap.synchronization.userIdAttributeName=sAMAccountName
ldap.synchronization.userFirstNameAttributeName=givenName
ldap.synchronization.userLastNameAttributeName=sn
ldap.synchronization.userEmailAttributeName=mail
ldap.synchronization.userOrganizationalIdAttributeName=msExchALObjectVersion
ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider
ldap.synchronization.groupIdAttributeName=cn
ldap.synchronization.groupType=group
ldap.synchronization.personType=user
ldap.synchronization.groupMemberAttributeName=member
synchronization.synchronizeChangesOnly=false


This is file-servers.properties located in extension/subsystems/fileServers/default/default

# Alfresco filesystem context
filesystem.name=Stardekk
filesystem.acl.global.defaultAccessLevel=

# AVM filesystem context
filesystem.avm.name=AVM
# Are the virtual views enabled 
filesystem.avm.enabled=false
# virtual view stores filter can be any of the following: normal, site, staging, author, preview
filesystem.avm.stores=site,staging,author
       

### Root directory to open onto ###
filesystem.storeName=${spaces.store}
filesystem.rootPath=${protocols.rootPath}

# ALF-3856
# File name patterns that trigger rename shuffle detection
# pattern is used by rename - tested against full path after it has been lower cased.
filesystem.renameShufflePattern=(.*[a-f0-9]{8}+$)|(.*\\.tmp$)|(.*\\.wbk$)|(.*\\.bak$)|(.*\\~$)

# Should we ever set the read only flag on folders? This may cause problematic
# behaviour in Windows clients. See ALF-6727.
filesystem.setReadOnlyFlagOnFolders=false


### CIFS Server Configuration ###
cifs.enabled=true
cifs.serverName=docserver
# cifs.serverName=docs.stardekk.be
cifs.domain=
cifs.broadcast=255.255.255.255
# An empty value indicates bind to all available network adapters
cifs.bindto=
cifs.ipv6.enabled=false
cifs.hostannounce=true
# Enable the use of asynchronous sockets/NIO code
cifs.disableNIO=false
# Disable the use of JNI code. Only currently affects Windows
cifs.disableNativeCode=false
# Session timeout, in seconds. Defaults to 15 minutes, to match the default Windows client setting.
# If no I/O is received within that time the session is closed by the server
cifs.sessionTimeout=900
# Maximum virtual circuits per session
# Should only be changed when using Terminal Server clients
cifs.maximumVirtualCircuitsPerSession=16

# Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports
cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.sessionPort=1139
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138

# Optional WINS server primary and secondary IP addresses. Ignored if autoDetectEnabled=true
cifs.WINS.autoDetectEnabled=true
cifs.WINS.primary=1.2.3.4
cifs.WINS.secondary=5.6.7.8

# CIFS session debug flags (also enable org.alfresco.fileserver=debug logging level)
# Comma delimeted list of levels :-
#    NETBIOS, STATE, RXDATA, TXDATA, DUMPDATA, NEGOTIATE, TREE, SEARCH, INFO, FILE, FILEIO, TRANSACT
#    ECHO, ERROR, IPC, LOCK, PKTTYPE, DCERPC, STATECACHE, TIMING, NOTIFY, STREAMS, SOCKET, PKTPOOL
#    PKTSTATS, THREADPOOL, BENCHMARK
cifs.sessionDebug=

# Big Switch, are the Desktop Actions and URL shortcuts shown for CIFS ?
cifs.pseudoFiles.enabled=false

# CIFS URL for alfresco explorer
cifs.pseudoFiles.explorerURL.enabled=true
cifs.pseudoFiles.explorerURL.fileName=__OpenInBrowser.url

# Cifs URL for alfresco share
cifs.pseudoFiles.shareURL.enabled=false
cifs.pseudoFiles.shareURL.fileName=__Share.url

cifs.urlfile.prefix=https://docs.stardekk.be/share/

### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21
# An empty value indicates bind to all available network adapters
ftp.bindto=

# FTP data port range, a value of 0:0 disables the data port range and will use the next available port
# Valid range is 1024-65535
ftp.dataPortFrom=0
ftp.dataPortTo=0

# FTPS support (enabled when the keystore, truststore and passphrase are set)
ftp.keyStore=
ftp.trustStore=
ftp.passphrase=
ftp.requireSecureSession=true
ftp.sslEngineDebug=false

# FTP session debug flags (also enable org.alfresco.fileserver=debug logging level)
# Comma delimeted list of levels :-
#    STATE, RXDATA, TXDATA, DUMPDATA, SEARCH, INFO, FILE, FILEIO, ERROR, PKTTYPE, TIMING, DATAPORT, DIRECTORY, SSL
ftp.sessionDebug=

### NFS Server Configuration ###
nfs.enabled=false
# NodeMonitor to update cache of NFS server on nodes renaming and deleting not through NFS protocol
nfs.nodeMonitor.enabled=${nfs.enabled}
# Mount/NFS server ports, 0 will allocate next available port
nfs.mountServerPort=0
nfs.nfsServerPort=2049

# RPC registration port, 0 will allocate next available port
#  Some portmapper/rpcbind services require a privileged port to be used
nfs.rpcRegisterPort=0

# To disable NFS and mount server registering with a portmapper set nfs.portMapperPort to -1
nfs.portMapperPort=111
# Enable the builtin portmapper service
nfs.portMapperEnabled=false

# NFS session debug flags (also enable org.alfresco.fileserver=debug logging level)
# Comma delimeted list of levels :-
#    RXDATA, TXDATA, DUMPDATA, SEARCH, INFO, FILE, FILEIO, ERROR, TIMING, DIRECTORY, SESSION
nfs.sessionDebug=

nfs.mountServerDebug=false

#
# Filesystem cluster configuration
#
# Hazelcast cluster debug flags
# Comma delimeted list of levels
#    "StateCache", "Expire", "NearCache", "Oplock", "ByteLock", "FileAccess", "Membership",
#    "Cleanup", "PerNode", "ClusterEntry", "ClusterMessage", "RemoteTask", "RemoteTiming",
#    "Rename", "FileDataUpdate", "FileStatus"
filesystem.cluster.debugFlags=


Hopefully someone can assist me, I'm really eager to deploy Alfresco in our company; but I have to get it working under Mac too..

Update: I am also having this issue on version 4.2.d

Outcomes