07-30-2009 01:07 PM
07-30-2009 02:30 PM
CIFS, I had to add the non-privileged ports in alfresco-global.properties, and then set port forwarding
07-30-2009 04:51 PM
It sounds like you have also Samba installed on your Ubuntu server. Stop Samba (sudo /etc/init.d/samba stop), and then reboot alfresco (sudo /etc/init.d/alfresco restart). If you have set up the ports correctly, you can connect in windows, by not using the server name, but the ip adres.CIFS, I had to add the non-privileged ports in alfresco-global.properties, and then set port forwarding
Glad to hear you got it going – I found steps to use the non-privileged ports and enable port forwarding, but all I'm getting when I go to \\alfresco\ is the folder "Printers and Faxes". None of the other folders are there. Any ideas about that?
07-31-2009 10:49 AM
cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
echo 1 > /proc/sys/net/ipv4/ip_forward
modprobe iptable_nat
iptables -F
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -A PREROUTING -p tcp –dport 445 -j REDIRECT –to-ports 1445
iptables -t nat -A PREROUTING -p tcp –dport 139 -j REDIRECT –to-ports 1139
iptables -t nat -A PREROUTING -p udp –dport 137 -j REDIRECT –to-ports 1137
iptables -t nat -A PREROUTING -p udp –dport 138 -j REDIRECT –to-ports 1138
07-31-2009 04:32 PM
Thanks
I do not have /etc/init.d/alfresco
Nor can I find any script or file to restart alfresco.
#
# redirect FROM TO PROTOCOL
# setup port redirect using iptables
redirect() {
echo "Redirecting port $1 to $2 ($3)"
iptables -t nat -A OUTPUT -p $3 –dport $1 -j REDIRECT –to-ports $2
iptables -t nat -A PREROUTING -p $3 –dport $1 -j REDIRECT –to-ports $2
iptables -t nat -A OUTPUT -p $3 –dport $1 -j REDIRECT –to-ports $2
}
#
# setup_iptables
# setup iptables for redirection of CIFS and FTP
setup_iptables () {
echo "1" >/proc/sys/net/ipv4/ip_forward
# Clear NATing tables
iptables -t nat -F
# FTP NATing
redirect 21 2021 tcp
# CIFS NATing
redirect 445 1445 tcp
redirect 139 1139 tcp
redirect 137 1137 udp
redirect 138 1138 udp
}
log_daemon_msg "Starting $DESC" "$NAME"
echo "Setting up iptables …"
setup_iptables
08-24-2009 04:44 AM
08-25-2009 06:19 AM
08-25-2009 11:54 AM
08-26-2009 04:40 AM
/usr/share/tomcat6/shared/classes/alfresco-global.properties
08-26-2009 04:43 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.