cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS issue ALF-4.2.d

mbnoimi
Champ in-the-making
Champ in-the-making
Hi,

I successfully installed Alfresco 4.2.d under Ubuntu 13.10 using IP: 192.168.0.200 (mbnoimi-virtual) and I can use the web interface without any problem through the network. But I can't access CIFS using Windows share.

I tried to access CIFS by using theses ways but all of them failed!
\\mbnoimi-virtuala
\\mbnoimi-virtuala\Alfresco
\\192.168.0.200\Alfresco

May you please help me because I've to make a presentation about Alfresco in my school.

Error message:
Check the spelling of the name. Otherwise, there might be a problem with your network. To try identify and resolve network problems, click Diagnose

Log of one of the attached PCs which can access Alfresco's web interface but can't access CIFS
C:\Users\user>ping mbnoimi-virtual

Pinging mbnoimi-virtual [192.168.0.200] with 32 bytes of data:
Reply from 192.168.0.200: bytes=32 time<1ms TTL=64
Reply from 192.168.0.200: bytes=32 time<1ms TTL=64
Reply from 192.168.0.200: bytes=32 time<1ms TTL=64
Reply from 192.168.0.200: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.0.200:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Users\user>ping mbnoimi-virtuala
Ping request could not find host mbnoimi-virtuala. Please check the name and try
again.

C:\Users\user>nbtstat -a mbnoimi-virtual

Local Area Connection:
Node IpAddress: [192.168.0.8] Scope Id: []

           NetBIOS Remote Machine Name Table

       Name               Type         Status
    ———————————————
    MBNOIMI-VIRTUAL<00>  UNIQUE      Registered
    MBNOIMI-VIRTUAL<03>  UNIQUE      Registered
    MBNOIMI-VIRTUAL<20>  UNIQUE      Registered
    WORKGROUP      <1E>  GROUP       Registered
    WORKGROUP      <00>  GROUP       Registered

    MAC Address = 00-00-00-00-00-00


C:\Users\user>ping MBNOIMI-VIRTUALA
Ping request could not find host MBNOIMI-VIRTUALA. Please check the name and try
again.

C:\Users\user>


/opt/alfresco-4.2.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/fileServers/default/file-servers.properties
filesystem.name=Alfresco
filesystem.acl.global.defaultAccessLevel=
filesystem.avm.name=AVM
filesystem.avm.enabled=true
filesystem.avm.stores=site,staging,author
filesystem.storeName=${spaces.store}
filesystem.rootPath=${protocols.rootPath}
filesystem.renameShufflePattern=(.*[a-f0-9]{8}+$)|(.*\\.tmp$)|(.*\\.wbk$)|(.*\\.bak$)|(.*\\~$)
filesystem.renameCSVShufflePattern=.*[a-f0-9]{8}+$
filesystem.setReadOnlyFlagOnFolders=false
cifs.enabled=true
cifs.serverName=${localname}A
cifs.domain=
cifs.broadcast=255.255.255.255
cifs.bindto=
cifs.ipv6.enabled=false
cifs.hostannounce=true
cifs.disableNIO=false
cifs.disableNativeCode=false
cifs.sessionTimeout=900
cifs.maximumVirtualCircuitsPerSession=16
cifs.tcpipSMB.port=445
cifs.netBIOSSMB.sessionPort=139
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138
cifs.WINS.autoDetectEnabled=true
cifs.WINS.primary=1.2.3.4
cifs.WINS.secondary=5.6.7.8
cifs.sessionDebug=
cifs.pseudoFiles.enabled=true
cifs.pseudoFiles.explorerURL.enabled=true
cifs.pseudoFiles.explorerURL.fileName=__Alfresco.url
cifs.pseudoFiles.shareURL.enabled=false
cifs.pseudoFiles.shareURL.fileName=__Share.url
ftp.enabled=true
ftp.port=21
ftp.bindto=
ftp.dataPortFrom=0
ftp.dataPortTo=0
ftp.keyStore=
ftp.keyStoreType=JKS
ftp.keyStorePassphrase=
ftp.trustStore=
ftp.trustStoreType=JKS
ftp.trustStorePassphrase=
ftp.requireSecureSession=true
ftp.sslEngineDebug=false
ftp.sessionDebug=
nfs.enabled=false
nfs.nodeMonitor.enabled=${nfs.enabled}
nfs.mountServerPort=0
nfs.nfsServerPort=2049
nfs.rpcRegisterPort=0
nfs.portMapperPort=111
nfs.portMapperEnabled=false
nfs.sessionDebug=
nfs.mountServerDebug=false
filesystem.cluster.debugFlags=
filesystem.lockKeeperEnabled=true
filesystem.lockKeeperTimeout=7200
filesystem.lockKeeperRefreshCronExpression=0 * */1 * * ?


P.S.
  • Windows firewall is off
  • I'm trying to access Alfresco's CIFS through Windows 7 32bit
11 REPLIES 11

bisana
Champ on-the-rise
Champ on-the-rise
Hi
Please Configure the Windows Server  firewall to create a rule to allow 137,138,139.
Refered from
"http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Ffileserv-CIFS-..."

mbnoimi
Champ in-the-making
Champ in-the-making
First of all, I don't use Windows server (I mentioned I use Win7 32bit); Second I mentioned too I turned off whole Windows firewall.

bisana
Champ on-the-rise
Champ on-the-rise
Do u IPTABLES rules set
my system has
—————
# Generated by iptables-save v1.3.5 on Wed Nov 14 12:08:54 2012
*nat
Smiley TongueREROUTING ACCEPT [792004:103139953]
Smiley TongueOSTROUTING ACCEPT [200268:13085241]
Smiley SurprisedUTPUT ACCEPT [198837:12999381]
-A PREROUTING -p tcp -m tcp –dport 445 -j REDIRECT –to-ports 1445
-A PREROUTING -p tcp -m tcp –dport 139 -j REDIRECT –to-ports 1139
-A PREROUTING -p udp -m udp –dport 137 -j REDIRECT –to-ports 1137
-A PREROUTING -p udp -m udp –dport 138 -j REDIRECT –to-ports 1138
-A OUTPUT -d 127.0.0.1 -p tcp -m tcp –dport 445 -j REDIRECT –to-ports 1445
-A OUTPUT -d 127.0.0.1 -p tcp -m tcp –dport 139 -j REDIRECT –to-ports 1139
COMMIT
# Completed on Wed Nov 14 12:08:54 2012
# Generated by iptables-save v1.3.5 on Wed Nov 14 12:08:54 2012
*filter
:INPUT ACCEPT [184691033:46900911406]
:FORWARD ACCEPT [0:0]
Smiley SurprisedUTPUT ACCEPT [98538028:38641223346]
COMMIT

mbnoimi
Champ in-the-making
Champ in-the-making
I never used it before. Usually I use Alfresco directly without any problem.

Do you think I've to use iptables under Linux to be able to use Alfresco's Windows share?

bisana
Champ on-the-rise
Champ on-the-rise
Yes/No
No => if u had started DM instance as root user u may not need iptables, and normal ports will do
Yes => If u has started DM instance as normal use. U need iptables to redirect the ports, because normal users cannot initiate port leser than 1024, since it is reserved

The corresponding port no which u use in IPTABLES also should be refelected in alfresco-global.properties

mbnoimi
Champ in-the-making
Champ in-the-making
I started Alfresco from ROOT user. As I mentioned above. All the other PC on the network can browse Alfresco from web interface (http[://192.168.0.200:8080/share) while all of them can access CIFS of Alfresco which what I'm looking for a solution for it.

bisana
Champ on-the-rise
Champ on-the-rise
Hi, if my post was usefull to you, please mark my post as usefull
It will motivate me
thanks
Joseph John

mbnoimi
Champ in-the-making
Champ in-the-making
May you please focus with me. The server (Ubuntu + Alfresco) doesn't forbid anything because the iptables still fresh (as mentioned below) so this isn't a firewall issue it's clearly related to Alfresco configurations.

This issue still exists and I'm unable to use CIFS of Alfresco!

mbnoimi
Champ in-the-making
Champ in-the-making
The result of my iptables on Ubuntu 13.10 (192.168.0.200) where Alfresco installed
mbnoimi-VirtualBox ~ # iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination        

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination        

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination        
mbnoimi-VirtualBox ~ #