AnsweredAssumed Answered

getting CIFS to run on Windows Vista

Question asked by ronnytimmermans on Apr 9, 2007
I installed Alfresco 2.0 on Windows Vista (Home premium).
Installed with MySQL
Works fine with the web client
CIFS gives a problem

First:
10:49:43,121 ERROR [alfresco.smb.protocol] Error accessing Win32 NetBIOS, check DLL is on the path :
Solution: Put netbios dll in class path (wins32Netbios in windows\system32
The file can be found under alfresco directory
Netbios: make sure you total netbios name does not exceed 16 characters (including _a)

After start up of Server

14:50:01,909 ERROR [smb.protocol.mailslot] Host announce error, 10055:SendSocket Datagram - No buffer space available, (LANA 0)
  … is repeated 4 times, then …

14:55:01,917 ERROR [smb.protocol.mailslot] Marked LANA as unavailable due to send errors, (LANA 0)

Checking my configuration:
C:\Users\rtimmermans>nbtstat -a ronnypc


    Name               Type         Status
———————————————
RONNYPC        <00>  UNIQUE      Registered
NICOS          <00>  GROUP       Registered
RONNYPC        <20>  UNIQUE      Registered
NICOS          <1E>  GROUP       Registered
NICOS          <1D>  UNIQUE      Registered
..__MSBROWSE__.<01>  GROUP       Registered
RONNYPC_A      <20>  UNIQUE      Registered
RONNYPC_A      <00>  UNIQUE      Registered


Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Loopback Adapter
   Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::cccf:872d:ddfd:9eec%13(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.0.0.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.0.0.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 218234956
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

When trying to access from the Vista explorer, I can also see the following exception in Alfresco:

14:41:38,870 ERROR [alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054:SendSocket - C
onnection reset by peer
        at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Met
hod)
        at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.
java:266)
        at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.wri
tePacket(WinsockNetBIOSPacketHandler.java:187)
        at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvS
ession.java:1516)
        at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvS
ession.java:1485)
        at org.alfresco.filesys.smb.server.CoreProtocolHandler.procEcho(CoreProt
ocolHandler.java:1147)
        at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProto
colHandler.java:343)
        at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSessio
n.java:1450)
        at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:
1351)
        at java.lang.Thread.run(Thread.java:595)

And then the explorer hangs
Sometimes explorer returns at some time and display the selected folder.

Somebody a hint?

Outcomes