AnsweredAssumed Answered

HOW TO CONFIG CIFS ON LINUX(FEDORA 12)

Question asked by andyzhuangyy on Nov 8, 2010
Latest reply on Nov 8, 2010 by ssaravanan
the system is run on linux correctly now. I want to use CIFS to mount the directory of the alfresco as a file dir of linux. But I tried severl times. and it failed.

i have tested on windows 7.(running on windows smoothly)
In windows the cmd
net use \\%ComputerName%A\alfresco /user:admin admin /persistent:no 
can run correctly. And I can access the dir from windows explorer.

in linux i use the shell
mount -t cifs //{localname}a/alfresco /media/alfresco -o username=admin


mount error: could not resolve address for {localname}a: Name or service not known
No ip address specified and hostname not found

this is file-server.xml
<config evaluator="string-compare" condition="CIFS Server">
      <serverEnable enabled="${cifs.enabled}"/>
     
      <host name="${cifs.localname}A" domain="${cifs.domain}"/>
      <comment>Alfresco CIFS Server</comment>

      <!– Set to the broadcast mask for the subnet –>
      <broadcast>${cifs.broadcast}</broadcast>
     
      <!– Set to the IP for the adapter for Java socket –>
      <bindto>${cifs.bindto}</bindto>

      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
      <tcpipSMB ipv6="${cifs.ipv6}" platforms="linux,solaris,macosx"/>
      <netBIOSSMB bindto="${cifs.bindto}" platforms="linux,solaris,macosx"/>

I want to know how to configure the server , thanks!!!

Outcomes