Home

CIFS on an alternate IP: CIFS and Samba on same server.

You are here

6 posts / 0 new
Last post
CIFS on an alternate IP: CIFS and Samba on same server.

I've got a 100% working Alfresco implementation via web, on the same machine as a Samba server. The samba server *must* stay working as-is, so I won't disable that. I've seen suggestions that I can make Alfresco CIFS work by adding a second IP to the machine and binding Alfresco's CIFS server to the second IP - so that \\main.ip\ pulls up the Samba server and \\alternate.ip\ pulls up Alfresco's CIFS server. I've added the second IP to the machine, and that works just fine, but Samba has automatically bound itself to both IPs, which is unsurprising given CIFS' failure to start when it detects Samba. I need to unbind Samba from and then bind CIFS to the second IP.

However, I can't find instructions on *how to do that* anywhere. Has anyone gotten this working? Can anyone throw me a link to resources on how to do this?

Running Alfresco Community Network 2.1.0 on Ubuntu 7.10 server.

Re: CIFS on an alternate IP: CIFS and Samba on same server.
Re: CIFS on an alternate IP: CIFS and Samba on same server.

Looks good, I'll try that shortly and post my results.

Thanks!

Re: CIFS on an alternate IP: CIFS and Samba on same server.

Worked like a charm. The only issue is that the Alfresco instance, being well-used and full of documents, took almost 15 minutes to start responding to http requests from Apache after the restart. And that confused me greatly, but fixed itself.

Re: CIFS on an alternate IP: CIFS and Samba on same server.

But mine still doens't work.
I can access Samba but I can not access CIFS.

Can you help me?
Whose the first we start Alfresco or Samba?

Re: CIFS on an alternate IP: CIFS and Samba on same server.

I get this:

[root@softbless ~]# netstat -lnp | egrep 'java|mb' | tr -s ' '
tcp 0 0 192.168.2.2:139 0.0.0.0:* LISTEN 4215/smbd
tcp 0 0 192.168.2.2:445 0.0.0.0:* LISTEN 4215/smbd
tcp 0 0 :::50500 :::* LISTEN 4236/java
tcp 0 0 :::50501 :::* LISTEN 4236/java
tcp 0 0 :::50502 :::* LISTEN 4236/java
tcp 0 0 :::35622 :::* LISTEN 4236/java
tcp 0 0 :::50503 :::* LISTEN 4236/java
tcp 0 0 :::50504 :::* LISTEN 4236/java
tcp 0 0 :::50505 :::* LISTEN 4236/java
tcp 0 0 :::50506 :::* LISTEN 4236/java
tcp 0 0 :::59756 :::* LISTEN 4236/java
tcp 0 0 :::8080 :::* LISTEN 4236/java
udp 0 0 192.168.2.2:137 0.0.0.0:* 4219/nmbd
udp 0 0 192.168.2.2:137 0.0.0.0:* 4219/nmbd
udp 0 0 192.168.2.2:138 0.0.0.0:* 4219/nmbd
udp 0 0 192.168.2.2:138 0.0.0.0:* 4219/nmbd