cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect to CIFS from Mac

murfy
Champ in-the-making
Champ in-the-making
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 Smiley Happy

This is the current alfresco-global.properties:
ir.root=/var/alfrescoalfresco.context=alfrescoalfresco.host=docs.stardekk.bealfresco.port=443alfresco.protocol=httpsshare.context=shareshare.host=docs.stardekk.beshare.port=443share.protocol=https### database connection properties ###db.driver=org.gjt.mm.mysql.Driverdb.username=alfrescodb.password=SNIPPEDPASSWORDdb.name=alfrescodb.url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8### SMTP (temporary disabled) ###mail.host=fcs1.stardekk.localmail.from.default=operations@stardekk.be### RMI service ports ###alfresco.rmi.services.port=50500avm.rmi.service.port=0avmsync.rmi.service.port=0attribute.rmi.service.port=0authentication.rmi.service.port=0repo.rmi.service.port=0action.rmi.service.port=0deployment.rmi.service.port=0### External executable locations ###ooo.exe=/opt/alfresco/libreoffice/program/soffice.binooo.enabled=trueooo.port=8100img.root=/opt/alfresco/commonimg.dyn=${img.root}/libimg.exe=${img.root}/bin/convertswf.exe=/opt/alfresco/common/bin/pdf2swfswf.languagedir=/opt/alfresco/common/japanesejodconverter.enabled=falsejodconverter.officeHome=/opt/alfresco/libreofficejodconverter.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=solrdir.keystore=${dir.root}/keystoresolr.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=falseldap.authentication.java.naming.security.authentication=simpleldap.authentication.userNameFormat=%s@stardekk.localldap.authentication.allowGuestLogin=trueldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactoryldap.authentication.java.naming.provider.url=ldap://192.168.123.254:389ldap.authentication.java.naming.security.principal=STARDEKK\\ldap-connectionldap.authentication.java.naming.security.credentials=SNIPPEDPASSWORDldap.authentication.escapeCommasInBind=falseldap.authentication.escapeCommasInUid=falseldap.synchronization.active=trueldap.synchronization.java.naming.security.principal=STARDEKK\\ldap-connectionldap.synchronization.java.naming.security.credentials=SNIPPEDPASSWORDldap.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\=localldap.synchronization.userSearchBase=DC\=stardekk,DC\=localldap.synchronization.modifyTimestampAttributeName=modifyTimestampldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'ldap.synchronization.userIdAttributeName=sAMAccountNameldap.synchronization.userFirstNameAttributeName=givenNameldap.synchronization.userLastNameAttributeName=snldap.synchronization.userEmailAttributeName=mailldap.synchronization.userOrganizationalIdAttributeName=msExchALObjectVersionldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProviderldap.synchronization.groupIdAttributeName=cnldap.synchronization.groupType=groupldap.synchronization.personType=userldap.synchronization.groupMemberAttributeName=membersynchronization.synchronizeChangesOnly=false‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍


This is file-servers.properties located in extension/subsystems/fileServers/default/default
# Alfresco filesystem contextfilesystem.name=Stardekkfilesystem.acl.global.defaultAccessLevel=# AVM filesystem contextfilesystem.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, previewfilesystem.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=truecifs.serverName=docserver# cifs.serverName=docs.stardekk.becifs.domain=cifs.broadcast=255.255.255.255# An empty value indicates bind to all available network adapterscifs.bindto=cifs.ipv6.enabled=falsecifs.hostannounce=true# Enable the use of asynchronous sockets/NIO codecifs.disableNIO=false# Disable the use of JNI code. Only currently affects Windowscifs.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 servercifs.sessionTimeout=900# Maximum virtual circuits per session# Should only be changed when using Terminal Server clientscifs.maximumVirtualCircuitsPerSession=16# Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard portscifs.tcpipSMB.port=1445cifs.netBIOSSMB.sessionPort=1139cifs.netBIOSSMB.namePort=1137cifs.netBIOSSMB.datagramPort=1138# Optional WINS server primary and secondary IP addresses. Ignored if autoDetectEnabled=truecifs.WINS.autoDetectEnabled=truecifs.WINS.primary=1.2.3.4cifs.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, BENCHMARKcifs.sessionDebug=# Big Switch, are the Desktop Actions and URL shortcuts shown for CIFS ?cifs.pseudoFiles.enabled=false# CIFS URL for alfresco explorercifs.pseudoFiles.explorerURL.enabled=truecifs.pseudoFiles.explorerURL.fileName=__OpenInBrowser.url# Cifs URL for alfresco sharecifs.pseudoFiles.shareURL.enabled=falsecifs.pseudoFiles.shareURL.fileName=__Share.urlcifs.urlfile.prefix=https://docs.stardekk.be/share/### FTP Server Configuration ###ftp.enabled=trueftp.port=21# An empty value indicates bind to all available network adaptersftp.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-65535ftp.dataPortFrom=0ftp.dataPortTo=0# FTPS support (enabled when the keystore, truststore and passphrase are set)ftp.keyStore=ftp.trustStore=ftp.passphrase=ftp.requireSecureSession=trueftp.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, SSLftp.sessionDebug=### NFS Server Configuration ###nfs.enabled=false# NodeMonitor to update cache of NFS server on nodes renaming and deleting not through NFS protocolnfs.nodeMonitor.enabled=${nfs.enabled}# Mount/NFS server ports, 0 will allocate next available portnfs.mountServerPort=0nfs.nfsServerPort=2049# RPC registration port, 0 will allocate next available port#  Some portmapper/rpcbind services require a privileged port to be usednfs.rpcRegisterPort=0# To disable NFS and mount server registering with a portmapper set nfs.portMapperPort to -1nfs.portMapperPort=111# Enable the builtin portmapper servicenfs.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, SESSIONnfs.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
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
You are authenticating by passthru.   Is your mac in the windows domain … probably not.

murfy
Champ in-the-making
Champ in-the-making
Thank you, I misunderstood the way passthru works - however, what set-up should I use in our environment?

We have several Windows clients (joined in the domain), however we also have Mac Clients which are not part of the domain.

Should I just use ldap (I don't mind entering my username and password when connecting)?
Welcome to the new Hyland Connect. Get started or submit feedback.