HOW TO CONFIG CIFS ON LINUX(FEDORA 12)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2010 10:06 PM
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
in linux i use the shell
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
I want to know how to configure the server , thanks!!!
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!!!
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 05:20 AM
Try
mount -t cifs //localhost/alfresco /mnt/alfresco -o username=admin,password=admin
