AnsweredAssumed Answered

Can't connect to SMB using the CIFS Name, but using the IP address

Question asked by jacotec on May 31, 2017
Latest reply on Jun 1, 2017 by douglascrp

Hi,

 

I've deployed Alfresco Community Edition 5.2 in the last days and was able to solve almost any questions of my "learning curve" by this great forum and other internet sources.

 

But there is one thing I can't get up and running properly: Finding and connecting to Alfresco via SMB using the defined CIFS hostname (which is unique in my network).

 

Typing "\\dmsserver\alfresco\..." does not make any connection on the Windows machines, while "\\10.0.1.28\Alfresco" works pretty well. But I don't like using the IP address, I want to have that working with the host name.

 

Also "dmsserver" does not show up in any Windows machine when searching the network.

 

I'm really puzzled, thinking all is configured well and "java" is listening to all the required ports. Below is my CIFS configuration and the listening sockets. Any ideas are highly appreciated ;-)

 

From alfresco-global.properties:

# Protokoll-Root auf "Seites" setzen
protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname}

 

### SMB Server ###
cifs.enabled=true
cifs.serverName=DMSServer
cifs.domain=JACOTEC
cifs.hostannounce=true
cifs-sessionTimeout=1200

cifs.broadcast=255.255.255.255
cifs.tcpipSMB.port=445
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138
cifs.netBIOSSMB.sessionPort=139
cifs.pseudoFiles.enabled=false
cifs.pseudoFiles.shareURL.enabled=false

 

Listening ports:

root@alfresco:/opt/alfresco-community# netstat -plntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 2691/java
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 2691/java
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2691/java
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2691/java
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1143/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 2665/postgres.bin
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 2691/java
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 2691/java
tcp 0 0 0.0.0.0:62627 0.0.0.0:* LISTEN 2691/java
tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN 2767/.soffice.bin
tcp 0 0 0.0.0.0:8005 0.0.0.0:* LISTEN 2691/java
tcp6 0 0 :::22 :::* LISTEN 1143/sshd
udp 0 0 0.0.0.0:137 0.0.0.0:* 2691/java

Outcomes