[ALF-567] Failed to use netbios api for CIFS Created: 12-Dec-08  Updated: 22-Mar-13  Resolved: 20-May-10

Status: Closed
Project: Alfresco
Component/s: JLAN
Affects Version/s: 3.0 Enterprise
Fix Version/s: 3.3 Enterprise

Type: Bug Priority: Major
Reporter: mkononovich Assignee: Closed Bugs (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File error message.png    
Date of First Response:

 Description   

When i'm using <Win32NetBIOS/> - CIFS performs perfectly.
But when <Win32NetBIOS api="netbios"/> - i cannot access CIFS.
I opened Explorer, entered
myservername and have waited until the message appeared (see screenshot).
After this messaged had appeared - alfresco begins to use almost 100% CPU.

Note, that
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters]
"SMBDeviceEnabled"=dword:00000000



 Comments   
Comment by mkononovich [ 12-Dec-08 ]

Found in Alfresco 3.0 SP1 build 238 using Windows 2003 R2 SP2, Mysql 5.0.67, Tomcat 6.0.18, JDK 6u7

Comment by Steve Rigby [X] (Inactive) [ 29-Mar-09 ]

For fix version review

Comment by Steve Rigby [X] (Inactive) [ 08-Oct-09 ]

Gary, is this a config issue?

Comment by Gary Spencer [X] (Inactive) [ 20-May-10 ]

I was able to get this working on Win2003 and Win2003 R2, using the default Winsock NetBIOS and older NetBIOS API settings. I tested using the standalone JLAN Server code but it should be the same issue.

On Win2003 R2 I had to block port 445 traffic by using the Windows firewall, via Control Panels, windows Firewall, Exceptions tab, File and Print sharing, Edit button, then remove remove the check against the TCP 445 setting.

Comment by Gary Spencer [X] (Inactive) [ 20-May-10 ]

Could you retest with port 445 blocked using the Windows firewall, connection to the CIFS server will need to be cross-network not a loopback connection from the same server.

Comment by Steve Rigby [X] (Inactive) [ 21-May-10 ]

For retest in b48

Comment by Alfresco QA Team (Inactive) [ 24-May-10 ]

Can you, please, specify settings we need to configure? The configurations changed from the time bug was raised/ Is this configuration still supported?

Comment by Gary Spencer [X] (Inactive) [ 24-May-10 ]

It should just be a case of blocking port 445 using the Windows firewall.

On Win2003 R2 I did this using the Windows firewall, via Control Panels, Windows Firewall, Exceptions tab, File and Print sharing, Edit button, then remove remove the check against the TCP 445 setting.

The Alfresco CIFS server should register a name of <hostname>A, you can check this using 'nbtstat -n'. To test you will need to connect from another client as this method only blocks port 445 using the firewall so loopback connections will still end up going to the Windows CIFS server.

Comment by Alfresco QA Team (Inactive) [ 25-May-10 ]

Successfully connected to Alfresco CIFS using netbios api with 445 port blocked.

Server:

Microsoft(R) Windows(R) Server 2003, Enterprise Edition
5.2.3790 Service Pack 2 Build 3790

Client:

MicrosoftR Windows VistaT Ultimate
6.0.6002 Service Pack 2 Build 6002

Alfresco Enterprise 3.3.0 beta 48.

Generated at Sun Oct 25 17:09:50 GMT 2020 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.