cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3.4d CIFS Install

wasca
Champ in-the-making
Champ in-the-making
Hi Guys

I'm new to Alfresco and I need some help getting CIFS working. Here is my install info.

Ubuntu 10.04 LTS 64bit
Alfresco Community Edition 3.4d (Installed and working I can get to /share and /alfresco)
Server IP: 203.82.aaa.bbb (the Alfresco server)
Client Host: 192.168.1.115 (the PC trying to add the network share)

Here is what I have in my alfresco-global.properties

### CIFS Configuration  ###
cifs.enabled=true
cifs.serverName=bri-ecm       
cifs.ipv6.enabled=false       
cifs.tcpipSMB.port=445        
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138
cifs.netBIOSSMB.sessionPort=139

I've restarted Alfresco (/etc/init.d/alfresco restart) and when I try to make the network drive connection (\\bri-ecm\alfresco) it does not work. Windows cannot access \\bri-ecm\alfresco the network path was not found.

I can telnet to port 445 and 139 ok from the Client Host. (telnet bri-ecm 445)

What am I missing?
3 REPLIES 3

wasca
Champ in-the-making
Champ in-the-making
Ok silly me. If I had just RTFM then I would have got this.

I did the following and got it working

### CIFS Configuration  ###
cifs.enabled=true
cifs.serverName=bri-ecm      
cifs.ipv6.enabled=false      
cifs.tcpipSMB.port=1445        
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139

then issued these iptable commands


iptables -t nat -A PREROUTING -p tcp -m tcp –dport 445 -j REDIRECT –to-ports 1445
iptables -t nat -A PREROUTING -p tcp -m tcp –dport 139 -j REDIRECT –to-ports 1139
iptables -t nat -A PREROUTING -p udp -m udp –dport 137 -j REDIRECT –to-ports 1137
iptables -t nat -A PREROUTING -p udp -m udp –dport 138 -j REDIRECT –to-ports 1138

Have now successfully logged in.

wasca
Champ in-the-making
Champ in-the-making
Ok this setup seems to share the top level Document directory of the whole Alfresco site.

How do you share only 1 sites document tree. What if I had a site called "My First Site" (mfs) how do I share only its contents?

Thanks

bremmington
Champ on-the-rise
Champ on-the-rise
Take a look at the relevant page on the wiki. Hopefully that will help to answer the question, but post back here if not.