cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS on Windows

gil_fernandes
Champ in-the-making
Champ in-the-making
Hello,

I am trying to install Alfresco 2.1 with CIFS on Windows Vista. These are the steps that I have executed:

1. Copied Win32NetBIOS.dll to c:\windows\system32
2. Change file-servers.xml in <ALFRESCO_HOME>\tomcat\webapps\WEB-INF\classes\alfresco and added the following lines to this file:

   <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>

     
      
      <hostAnnounce interval="5"/>

      <!– Use Win32 NetBIOS interface on Windows –>
      <Win32NetBIOS api="winsock"/>
      <Win32Announce interval="5"/>


      <sessionDebug flags="Negotiate,Socket"/>
   </config>

I have then restarted Alfresco and when I execute the command:

nbtstat -n

I see in the NetBIOS table the name that refers to ${localname}_A. I then use

net use ${localname}_A

to connect to the share. The login prompt is displayed, but the login fails always. When I look at the Alfresco logs, I see there the error message:

17:12:09,010 ERROR [smb.protocol.auth] org.alfresco.filesys.smb.server.SMBSrvException: Invalid device type for dialect

Does anyone have an idea what the meaning of this error message is and if yes, how this can be fixed?

Kind regards,

Gil Fernandes
2 REPLIES 2

gil_fernandes
Champ in-the-making
Champ in-the-making
Dear all,

CIFS is now running on my Windows development machine with Alfresco 2.2. I just wonder, why this is not working with Alfresco 2.1.

Kind regards,

Gil

mikeh
Star Contributor
Star Contributor
Hi

From a quick search of JIRA, it looks like a Vista issue was fixed after the v2.1 Community Final version was released.

http://issues.alfresco.com/browse/AR-1593

Thanks,
Mike