AnsweredAssumed Answered

CIFS on Windows

Question asked by gil.fernandes on Nov 13, 2007
Latest reply on Nov 13, 2007 by mikeh
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

Outcomes