CIFS Configuration
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2008 02:46 PM
I'm configuring my Alfresco server and can't find detailed infomation on how to configure CIFS. Does anyone have a real life example of what the file-server-custom.xml should look like? I have a DEV server with a Alfresco space named Projects. I want to create a CIFS filesystem named DEVProjects.
Thanks, Melissa
Thanks, Melissa
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2008 04:33 PM

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2008 04:31 AM
Tip: use google to search all of Alfresco by adding "site:*.alfresco.com" to your query. In this case, you're searching for "cifs" so at google type this: site:*.alfresco.com cifs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2008 11:05 AM
I'm still confused….. is the host name is the file-servers-custom.xml the name of the CIFS server or the name of the computer? Is this how a user would connect? \\AlfrescoFS
<config evaluator="string-compare" condition="CIFS Server" replace="true">
<serverEnable enabled='true'/>
<host name="AfrescoFS"/>
<comment>Alfresco CIFS Server</comment>
And… how does this work with the follow?
<filesystem name="Test">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
<relativePath>/Test</relativePath>
This is my first time configuring this…. please help.
Melissa
<config evaluator="string-compare" condition="CIFS Server" replace="true">
<serverEnable enabled='true'/>
<host name="AfrescoFS"/>
<comment>Alfresco CIFS Server</comment>
And… how does this work with the follow?
<filesystem name="Test">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
<relativePath>/Test</relativePath>
This is my first time configuring this…. please help.
Melissa

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2008 04:38 PM
Hi Melissa,
Let your file-servers-custom.xml contain following piece of code….
<filesystem name="Alfresco">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
………
……..
You can get the actual CIFS path from your webclient
In the webclient go the company home->view details -> right click view on CIFS ->Copy shortcut ->take the url and manipulate the url bit..[ As you have to replace "/" with "\"]
a typical CIFS path would look like
\\hostnameA\Alfresco
e.g if your hostname is SYSHOME, so it should be
\\SYSHOMEA\Alfresco
Note:- CIFS automatically adds "A" to the URL, you can try without "A" also.
See if it helps.
Thanks
Kayan.
Let your file-servers-custom.xml contain following piece of code….
<filesystem name="Alfresco">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
………
……..
You can get the actual CIFS path from your webclient
In the webclient go the company home->view details -> right click view on CIFS ->Copy shortcut ->take the url and manipulate the url bit..[ As you have to replace "/" with "\"]
a typical CIFS path would look like
\\hostnameA\Alfresco
e.g if your hostname is SYSHOME, so it should be
\\SYSHOMEA\Alfresco
Note:- CIFS automatically adds "A" to the URL, you can try without "A" also.
See if it helps.
Thanks
Kayan.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2008 04:27 PM
I've completed the configuration for the http://wiki.alfresco.com/wiki/Configuring_the_CIFS_and_web_servers_for_Kerberos/AD_integration. However, it's still not working. The message I get is logon unsuccessful. There is no detailed message in the Alfresco Tomcat log. Below are some details….
Error Log:
16:16:10,176 DEBUG [alfresco.smb.protocol] Winsock NetBIOS session request received, caller=[ALF-DEV:WorkStation,Unique,]
16:16:10,192 DEBUG [alfresco.smb.protocol] Waiting for Win32 NetBIOS session request (Winsock) …
16:16:10,192 DEBUG [alfresco.smb.protocol] Server session started
16:16:10,192 DEBUG [alfresco.smb.protocol] Negotiated SMB dialect - NT LM 0.12
16:16:10,192 DEBUG [alfresco.smb.protocol] Assigned protocol handler - org.alfresco.filesys.smb.server.NTProtocolHandler
16:16:10,192 DEBUG [smb.protocol.auth] NT Session setup NTLMSSP, MID=8, UID=0, PID=65279
16:16:10,192 DEBUG [smb.protocol.auth] User logged on (type Normal)
16:16:10,192 DEBUG [smb.protocol.auth] NT Session setup NTLMSSP, MID=16, UID=0, PID=65279
16:16:10,192 User:mdougherty ERROR [alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 0:ReceiveSocket - Unknown Winsock error 0x0
at org.alfresco.filesys.netbios.win32.Win32NetBIOS.ReceiveSocket(Native Method)
at org.alfresco.filesys.netbios.win32.NetBIOSSocket.read(NetBIOSSocket.java:286)
at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.readPacket(WinsockNetBIOSPacketHandler.java:111)
at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1309)
at java.lang.Thread.run(Thread.java:619)
File-servers-custom.xml:
<config evaluator="string-compare" condition="CIFS Server" replace="true">
<serverEnable enabled='true'/>
<host name="ALF-DEV-FS" />
<comment>Alfresco CIFS Server</comment>
<config evaluator="string-compare" condition="Filesystem Security">
<authenticator type="enterprise">
<KDC>somo.test.gov</KDC>
<Realm>TEST.GOV</Realm>
<Password>…..</Password>
</authenticator>
</config>
<config evaluator="string-compare" condition="Filesystems" replace="true">
<filesystems>
<filesystem name="TEST">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
<relativePath>/TEST</relativePath>
Through the Alfresco web app, I can drill-down into ->Company Home ->Test and see the sub folders. But when I try to connect like this \\ALF-DEV\TEST, I get the logon error.
Any suggestions?
Melissa
Error Log:
16:16:10,176 DEBUG [alfresco.smb.protocol] Winsock NetBIOS session request received, caller=[ALF-DEV:WorkStation,Unique,]
16:16:10,192 DEBUG [alfresco.smb.protocol] Waiting for Win32 NetBIOS session request (Winsock) …
16:16:10,192 DEBUG [alfresco.smb.protocol] Server session started
16:16:10,192 DEBUG [alfresco.smb.protocol] Negotiated SMB dialect - NT LM 0.12
16:16:10,192 DEBUG [alfresco.smb.protocol] Assigned protocol handler - org.alfresco.filesys.smb.server.NTProtocolHandler
16:16:10,192 DEBUG [smb.protocol.auth] NT Session setup NTLMSSP, MID=8, UID=0, PID=65279
16:16:10,192 DEBUG [smb.protocol.auth] User logged on (type Normal)
16:16:10,192 DEBUG [smb.protocol.auth] NT Session setup NTLMSSP, MID=16, UID=0, PID=65279
16:16:10,192 User:mdougherty ERROR [alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 0:ReceiveSocket - Unknown Winsock error 0x0
at org.alfresco.filesys.netbios.win32.Win32NetBIOS.ReceiveSocket(Native Method)
at org.alfresco.filesys.netbios.win32.NetBIOSSocket.read(NetBIOSSocket.java:286)
at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.readPacket(WinsockNetBIOSPacketHandler.java:111)
at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1309)
at java.lang.Thread.run(Thread.java:619)
File-servers-custom.xml:
<config evaluator="string-compare" condition="CIFS Server" replace="true">
<serverEnable enabled='true'/>
<host name="ALF-DEV-FS" />
<comment>Alfresco CIFS Server</comment>
<config evaluator="string-compare" condition="Filesystem Security">
<authenticator type="enterprise">
<KDC>somo.test.gov</KDC>
<Realm>TEST.GOV</Realm>
<Password>…..</Password>
</authenticator>
</config>
<config evaluator="string-compare" condition="Filesystems" replace="true">
<filesystems>
<filesystem name="TEST">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
<relativePath>/TEST</relativePath>
Through the Alfresco web app, I can drill-down into ->Company Home ->Test and see the sub folders. But when I try to connect like this \\ALF-DEV\TEST, I get the logon error.
Any suggestions?
Melissa
