cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone running Alfresco concurrently with Samba?

hikenboots
Champ in-the-making
Champ in-the-making
If anyone has Alfresco co-located with Samba on the same machine, please post some how-to.  I don't want to reinvent the wheel here.

I'm trying to bind alfresco to a second ip address in order to run samba on the first ip of 192.168.1.3.

file-server.xml reads:
<alfresco-config area="file-servers">

   <config evaluator="string-compare" condition="CIFS Server">
      <host name="alf" domain="workgroup"/>
      <comment>Alfresco CIFS Server</comment>

      <!– Set to the broadcast mask for the subnet –>
      <broadcast>255.255.255.255</broadcast>

      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
      <tcpipSMB platforms="linux,solaris,macosx"/>
      <netBIOSSMB bindto="192.168.1.20" platforms="linux,solaris,macosx"/>
      <hostAnnounce interval="5"/>

      <!– Use Win32 NetBIOS interface on Windows –>
      <Win32NetBIOS/>
      <Win32Announce interval="5"/>


When I add the "bindto=" the server I cannot access Alfresco via CIFS at all.  Without "bindto=" CIFS works properly on the original ip of 192.168.1.3

I read a post a while back on this very topic but didn't bookmark it and now can't find it.   :roll:
1 REPLY 1

hikenboots
Champ in-the-making
Champ in-the-making
I have Samba installed now but Alfresco isn't broadcasting its name now…

The samba server shows up in network netghborhood and works properly.

In smb.conf:
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
interfaces = 192.168.1.3/24
bind interfaces only = yes

The alfresco server does not broadcast its name now.
In file-servers.xml:
alfresco-config area="file-servers">

   <config evaluator="string-compare" condition="CIFS Server">
      <host name="alf" domain="WORKGROUP"/>
      <comment>Alfresco CIFS Server</comment>

      <!– Set to the broadcast mask for the subnet –>
      <broadcast>192.168.1.255</broadcast>
      <bindto>192.168.1.20</bindto>

      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
      <tcpipSMB platforms="linux,solaris,macosx"/>
      <netBIOSSMB bindto="192.168.1.20" platforms="linux,solaris,macosx"/>
      <hostAnnounce interval="5"/>

      <!– Use Win32 NetBIOS interface on Windows –>
      <Win32NetBIOS/>
      <Win32Announce interval="5"/>

192.168.1.20      alf was added to /etc/hosts.

Can anyone offer advice on getting Alfresco to announce itself?