AnsweredAssumed Answered

NIC dedicated to CIFS Fileserver

Question asked by unknown-user on Mar 5, 2014
Latest reply on Mar 9, 2014 by andrew_bowley
Hi

I have installed Alfresco Community 4.2e on Ubuntu 13.04 and added a second NIC to allow access to Alfresco share(s) without interfering with the native Samba installation. I have not seen this approach mentioned anywhere and I would be happy to write a wiki article on how this was configured and insights gained. I will proceed if there is any interest.

I am using a Windows SBS 2011 Essentials server for kerboros authentication and Active Directory user synchronization. However, CIFS authentication by kerboros failed, so I fell back to using AlfrescoNltm CIFS authentication. I successfully set up a subnet for the CIFS Fileserver and worked out how to arrange the routing so users can reach the subnet via the server acting as a router.

The main insight gained is that even though Samba and Alfresco have "bindTo" interface configurations, this does not mean both interfaces will operate successfully using the default ports at the same time. For example, Samba listens on ports 137 and 138 using of global 0.0.0.0 address, so this precludes Alfresco using these ports. Alfresco also refused to use the default faults if in use, even if by the non-bindTo interface. I reassigned the Alfresco ports and updated the iptables for the required port redirection. It took a while to work out how to configure the iptables for 2 interfaces!


Outcomes