1. alfresco-global.properties
## CIFS
cifs.enabled=true
cifs.serverName=server_name
cifs.domain=WORKGROUP
cifs.hostannounce=true
cifs.sessionTimeout=500
cifs.ipv6.enabled=false
#cifs.tcpipSMB.port=1445
#cifs.netBIOSSMB.namePort=1137
#cifs.netBIOSSMB.datagramPort=1138
#cifs.netBIOSSMB.sessionPort=1139
cifs.WINS.autoDetectEnabled=true
2. Run "sudo alfresco " as root so that it can use the default ports.
3. Test From Windows Explorer to map network drive with user credential.
net use X: \\192.168.1.35\Alfresco /usr:admin admin
4. Test from Ubuntu side
https://help.ubuntu.com/community/Samba/SambaClientGuide
smbclient -U qa1 //108.171.177.147/Alfresco -p 139