cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS on internet domain problem

fthamura
Champ in-the-making
Champ in-the-making
i test alfresco in our intranet and run, we just put _A to our server name, but, now i want to put the alfresco server on the net, and i want everyone can access using internet domain, my domain is http://www.intercitra.com.

anyone can help?
6 REPLIES 6

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

CIFS is not a very good protocol to run over the Internet, it's design for LANs rather than WANs as it's not too good when there is latency within the network connection.

What about using WebDAV for Internet access ?.

Cheers

Gary

fthamura
Champ in-the-making
Champ in-the-making
So, if use WebDAV, what should I do? I just want to make the alfresco work like CIFS, and run as a drive, like Z or X in my pc.

can we do that?

fthamura
Champ in-the-making
Champ in-the-making
WebDAV work here, and now i want to make it drive.

this is my webdav url.

http://www.intercitra.com:8080/alfresco/webdav

FRans

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

You should be able to access the CIFS server using either the host name or IP address via the Start->Run menu using a UNC path of either :-

\\www.intercitra.com
\\<ip_address>

You can also add an entry to the LMHOSTS file in C:\<Windows>\System32\drivers\etc (you might need to create it). Add an entry for the Alfresco CIFS server :-

<ip_address> ALFRESCO

Then you should be able to use \\Alfresco as the UNC path.

Cheers

Gary

fthamura
Champ in-the-making
Champ in-the-making
I got this, when run the Alfresco in Root privilege on Linux.

08:23:43,053 ERROR [protocol] CIFS server configuration error, Failed to determine local domain/workgroup
org.alfresco.error.AlfrescoRuntimeException: Failed to determine local domain/workgroup
        at org.alfresco.filesys.server.config.ServerConfiguration.getLocalDomainName(ServerConfiguration.java:2253)
        at org.alfresco.filesys.server.config.ServerConfiguration.processCIFSServerConfig(ServerConfiguration.java:587)
        at org.alfresco.filesys.server.config.ServerConfiguration.init(ServerConfiguration.java:425)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:971)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:941)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:334)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:146)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:310)
        at

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

In the file-servers.xml configuration file (in WEB-INF/classes/alfresco) you'll need to set the domain/workgroup that the CIFS server announces itself to. This should be the Windows domain/workgroup not a dotted DNS domain name, eg.

   <config evaluator="string-compare" condition="CIFS Server">
      <host name="${localname}A" domain="WORKGROUP"/>
      <comment>Alfresco CIFS Server</comment>

Cheers

Gary