CIFS on Windows XP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2009 07:48 PM
I can take the same war (and shared files), deploy them redhat linux and it works fine. I go into windows explorer with \\{hostname}_a, it prompts me to log in and it works.
I currently have a development copy running on my Windows XP (SP3) machine and would like to access the local machine the same way. \\{localhost}_a
I have searched through the wikis and on this forum (although it does not let me simply search CIFSand windows) and cannot find anything that appears to be useful to get it working. Can someone please direct me? Do I have to have the NetBios Protocol running on my local machine? Is there a document somewhere that describes the Windows requirements to get any CIFS system working that may be separate from the Alfresco Documentation.
Environment:
Windows XP 2002 SP3
Tomcat 5.5
JDK 6.0
file-server.xml
<alfresco-config area="file-servers"> <config evaluator="string-compare" condition="CIFS Server"> <serverEnable enabled="true"/> <host name="${localname}_A"/> <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 platforms="linux,solaris,macosx"/> <!– Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports –> <!– <tcpipSMB port="1445" platforms="linux,solaris,macosx"/> <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/> –> <hostAnnounce interval="5"/> <!– Use Win32 NetBIOS interface on Windows –> <Win32NetBIOS/> <Win32Announce interval="5"/><!– <WINS> <primary>1.2.3.4</primary> <secondary>5.6.7.8</secondary> </WINS>–> <sessionDebug flags="Negotiate,Socket"/> </config> <config evaluator="string-compare" condition="FTP Server"> <serverEnable enabled="true"/><!– <debug flags="File,Search,Error,Directory,Info,DataPort"/> –> </config> <config evaluator="string-compare" condition="NFS Server"> <serverEnable enabled="false"/> </config> <config evaluator="string-compare" condition="Filesystems"> <filesystems> <!– Alfresco repository access shared filesystem –> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <!– Add a URL file to each folder that links back to the web client –> <urlFile> <filename>__AlfrescoClient.url</filename> <webpath>http://${localname}:8080/alfresco/</webpath> </urlFile> <!– Mark locked files as offline –> <offlineFiles/> <!– Desktop actions –> <!– Uses a client-side application to trigger a server-side action –> <!– Echo - displays a message echoed from the server –> <!– URL - launches a URL via the Windows shell –> <!– CmdLine - launches the Notepad application –> <!– CheckInOut - checks files in/out, drag and drop files onto the application –> <!– JavaScript - run a server-side script –> <!– JavaScriptURL - server-side script that generates a URL to the folder using a ticket –> <!– to avoid having to logon –><!– <desktopActions> <global> <path>alfresco/desktop/Alfresco.exe</path> <webpath>http://${localname}:8080/alfresco/</webpath> </global> <action> <class>org.alfresco.filesys.smb.server.repo.desk.EchoDesktopAction</class> <name>Echo</name> <filename>__AlfrescoEcho.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.URLDesktopAction</class> <name>URL</name> <filename>__AlfrescoURL.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.CmdLineDesktopAction</class> <name>CmdLine</name> <filename>__AlfrescoCmd.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class> <name>CheckInOut</name> <filename>__AlfrescoCheckInOut.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class> <name>JavaScript</name> <filename>__AlfrescoScript.exe</filename> <script>alfresco/desktop/dumpRequest.js</script> <attributes>anyFiles, multiplePaths , allowNoParams</attributes> <preprocess>confirm, copyToTarget</preprocess> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class> <name>JavaScriptURL</name> <filename>__AlfrescoDetails.exe</filename> <script>alfresco/desktop/showDetails.js</script> <attributes>anyFiles</attributes> <preprocess>copyToTarget</preprocess> </action> </desktopActions>–> <!– <accessControl default="Write"> <user name="admin" access="Write"/> <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/> </accessControl>–> </filesystem> <!– AVM virtualization view of all stores/versions for WCM –> <avmfilesystem name="AVM"> <virtualView/> </avmfilesystem> </filesystems> </config> <config evaluator="string-compare" condition="Filesystem Security"> <authenticator type="enterprise"> </authenticator><!– <globalAccessControl default="None"> <user name="admin" access="Write"/> <address ip="90.1.0.90" access="Write"/> </globalAccessControl> <users> <localuser name="user"> <password>user</password> <comment>Normal user account</comment> </localuser> <localuser name="administrator"> <password>admin</password> <administrator/> <comment>Administrator account</comment> </localuser> </users>–> </config></alfresco-config>
file-server-custom.xml
<alfresco-config area="file-servers"> <!– To override the default Alfresco filesystem use replace="true", to –> <!– add additional filesystems remove the replace="true" attribute –> <config evaluator="string-compare" condition="Filesystems" replace="true"> <filesystems> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <!– Add a URL file to each folder that links back to the web client –> <urlFile> <filename>__Alfresco.url</filename> <webpath>http://${localname}/</webpath> </urlFile> <!– Mark locked files as offline –> <offlineFiles/> <!– Desktop actions –> <desktopActions> <global> <path>alfresco/desktop/Alfresco.exe</path> <webpath>http://${localname}/</webpath> </global> <action> <class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class> <name>CheckInOut</name> <filename>__CheckInOut.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class> <name>JavaScriptURL</name> <filename>__ShowDetails.exe</filename> <script>alfresco/desktop/showDetails.js</script> <attributes>anyFiles</attributes> <preprocess>copyToTarget</preprocess> </action> </desktopActions><!– <accessControl default="Write"> <user name="admin" access="Write"/> <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/> </accessControl>–> </filesystem> <!– AVM virtualization view of all stores/versions for WCM –> <avmfilesystem name="AVM"> <virtualView/> </avmfilesystem> </filesystems> </config></alfresco-config>
Thanks in advance.
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2009 09:41 AM
Check your catalina.out file to confirm CIFS is started.
If not started you may get error message
Userystem ERROR [alfresco.smb.protocol] CIFS and FTP servers not started due to filesystem initialization error.
In such case CIFS server is not started.
Joglekar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 10:21 AM
Any other ideas? What is the required configuration on my machine to get this working?
Does CIFS not work for a stand-alone machine the alfresco server is located on? Or is this a Windows XP thing? The configuration I have worked fine on Linux (for client machines trying to map to it) My guess is I have to have some driver installed. I have tried the same installation on multiple XP machines and it does not work.
Does Alfresco have a wiki that explains the requirements for an XP installation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2009 02:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 12:12 AM
Any thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2009 02:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2009 11:25 AM
Thank you so much for your responses. Not sure why it took so long for me to notice the mistake
One of the questions on the above mentioned thread is to get it working when disconnected from the network. I assume it is not possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2009 12:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2009 03:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2009 02:54 AM
What I tried ……
1. Enable Debug setting for CIFS server
log4j.logger.org.alfresco.smb.protocol=debug
log4j.logger.org.alfresco.smb.protocol.auth=debug
log4j.logger.org.alfresco.acegi=debug
And I got to know that the ${localname} is of 15 Character i.e. abc-569901e23e8 ,and Got message in Debug that "Computer name is more than 15 character so truncating computer name"
I asked our admin to change my computer name and we changed it to "alfresco109". and it worked for me
Here is code for my file-server-custom.xml
<alfresco-config area="file-servers"> <!– To override the default Alfresco filesystem use replace="true", to –> <!– add additional filesystems remove the replace="true" attribute –> <config evaluator="string-compare" condition="Filesystems" replace="true"> <filesystems> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <disableChangeNotification/> <!– Add a URL file to each folder that links back to the web client –> <urlFile> <filename>__Alfresco.url</filename> <webpath>http://${localname}A:8080/alfresco/</webpath> </urlFile> <!– Mark locked files as offline –> <offlineFiles/> <!– Desktop actions –> <desktopActions> <global> <path>alfresco/desktop/Alfresco.exe</path> <webpath>http://${localname}A:8080/alfresco/</webpath> </global> <action> <class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class> <name>CheckInOut</name> <filename>__CheckInOut.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class> <name>JavaScriptURL</name> <filename>__ShowDetails.exe</filename> <script>alfresco/desktop/showDetails.js</script> <attributes>anyFiles</attributes> <preprocess>copyToTarget</preprocess> </action> </desktopActions><!– <accessControl default="Write"> <user name="admin" access="Write"/> <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/> </accessControl>–> </filesystem> <!– AVM virtualization view of all stores/versions for WCM –> <avmfilesystem name="AVM"> <virtualView/> </avmfilesystem> </filesystems> </config></alfresco-config>
Map Your Network drive with \\alfresco109A\Alfresco
If this sovles your problem please reply with your comment