cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS: Invalid device type for dialect

andrepra
Champ in-the-making
Champ in-the-making
I can't connect to Alfresco CE 4.0d using CIFS protocol. The OS is Linux Suse
Others protocols works fine.
The error is "Invalid device type for dialect"
Here the log after setting the debug level


12:32:40,682 DEBUG [org.alfresco.fileserver] [SMB] Connection from /10.0.9.93:59555, handler=[SMB,TCP-SMB,ALL:445], sess=T4
12:32:40,682 DEBUG [org.alfresco.fileserver] [SMB] Waiting for new connection …
12:32:40,682 DEBUG [org.alfresco.fileserver] [SMB] Register session with request handler, handler=CIFSRequestHandler_1, sess=T4
12:32:40,683 DEBUG [org.alfresco.fileserver] [T4] Negotiated SMB dialect - NT LM 0.12
12:32:40,683 DEBUG [org.alfresco.fileserver] [T4] Assigned protocol handler - org.alfresco.jlan.smb.server.NTProtocolHandler
12:32:40,684 DEBUG [org.alfresco.fileserver] [T4] State changed to SMBSESSSETUP
12:32:40,685 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=8, UID=0, PID=65279
12:32:40,686 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:32:40,687 DEBUG [org.alfresco.smb.protocol.auth] User  logged on  (type Normal)
12:32:40,688 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=16, UID=0, PID=65279
12:32:40,688 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:32:40,769 ERROR [org.alfresco.smb.protocol.auth] org.alfresco.jlan.smb.server.SMBSrvException: Invalid device type for dialect
12:32:41,597 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=24, UID=0, PID=65279
12:32:41,598 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:32:41,599 DEBUG [org.alfresco.smb.protocol.auth] User  logged on  (type Normal)
12:32:41,600 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=32, UID=0, PID=65279
12:32:41,600 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:32:41,674 ERROR [org.alfresco.smb.protocol.auth] org.alfresco.jlan.smb.server.SMBSrvException: Invalid device type for dialect
12:32:46,004 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=40, UID=0, PID=65279
12:32:46,005 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:32:46,006 DEBUG [org.alfresco.smb.protocol.auth] User  logged on  (type Normal)
12:32:46,007 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=48, UID=0, PID=65279
12:32:46,007 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:32:46,081 ERROR [org.alfresco.smb.protocol.auth] org.alfresco.jlan.smb.server.SMBSrvException: Invalid device type for dialect
12:32:57,445 DEBUG [org.alfresco.fileserver] Error during packet receive, closing session sess=T4, addr=10.0.9.93 ex=Connection reset by peer
12:32:57,446 DEBUG [org.alfresco.fileserver] ## Session closing. [T4] Client closed socket
12:32:57,446 DEBUG [org.alfresco.fileserver] [T4] State changed to NBHANGUP
12:32:57,446 DEBUG [org.alfresco.fileserver] [T4] Cleanup session, vcircuits=0, changeNotify=0
12:32:57,446 DEBUG [org.alfresco.fileserver] [T4] Server session closed
12:32:57,446 DEBUG [org.alfresco.fileserver] [SMB] Closed session 4, sessions=0
12:32:57,446 DEBUG [org.alfresco.fileserver] [SMB] Request handler CIFSRequestHandler_1 waiting for session …



Thanks
Andrea
2 REPLIES 2

bisana
Champ on-the-rise
Champ on-the-rise
Hi Andrea
May be IPTABLES issue.
Did u redirect the port,
please check the link "http://wiki.alfresco.com/wiki/Troubleshooting"

andrepra
Champ in-the-making
Champ in-the-making
Thanks for reply. I saw it only yesterday.
I checked your link but I don't think it is my case. Tomcat is starting as root user so I don't have any problem opening privilged ports. FTP works without problems on port 21 and there's no message on logs about problem in opening the port 137, 138, 139 and 445.