cancel
Showing results for 
Search instead for 
Did you mean: 

SMB2 / SMB3 server support

yves_noirjean
Champ in-the-making
Champ in-the-making

Greetings

Microsoft is soon disabling SMB1 in Windows (Microsoft to Disable SMBv1 in Windows Starting This Fall ).

In the light of that, does the Alfresco SMB/CIFS Server support SMB2 or SMB3? I'm especially interested in the Java based implementation which runs on non-Windows systems.

Thank you

Yves Noirjean

1 ACCEPTED ANSWER

resplin
Elite Collaborator
Elite Collaborator

I saw that news over the weekend, and we have been discussing it is a team.

CIFS is a specific dialect of SMBv1, and so is likely to stop working when Microsoft disables their client support for it. Our implementation of CIFS is vulnerable to many of the security problems mentioned in the Microsoft blog post, and so for some time we have recommended people use WebDAV in environments where those risks are considered unacceptable.

As Axel Faust‌ has pointed out, Alfresco has not invested in improving our SMB support since Alfresco version 4.0. That work was to improve the performance and stability of the current implementation, and we have not done the work to support newer versions of that protocol.

When we have looked at upgrading to a newer version of the SMB protocol, it is an expensive undertaking. We have instead directed our resources to other areas, such as improving WebDAV and the new SharePoint support in the AOS library.

The news from Microsoft has forced us to re-evaluate our position with SMB/CIFS. There are some new libraries we could leverage for this support, but integrating them would still be a big project. I wonder if it isn't better to end-of-life our CIFS support and recommend WebDAV for all use cases required mounting Alfresco as a shared drive.

Here is my analysis of WebDAV versus SMBv3.1.1:

  • WebDAV is superior to modern versions of SMB when used for file access over a high-latency network. This is increasingly important as more deployments are in AWS or some other public cloud.
  • WebDAV has worse performance than SMBv3.1.1 on a local network.
  • WebDAV cannot handle transferring files larger than 4GB, so something like FTP would have to be used for those cases.

Am I missing anything?

Is anyone willing to share a use case shared drives where WebDAV would not be adequate?

View answer in original post

30 REPLIES 30

tommygonk
Champ on-the-rise
Champ on-the-rise

fileServersNG will work with community or enterprise versions of Alfresco, currently there is a project that will build the fileServersNG AMP for Alfresco v4.x or v5.x, we should have a version for Alfresco v6.x in the near future.

There is a Docker image available with an Alfresco 5.2 community release with the fileServersNG subsystem deployed, there's more information on the website at http://www.filesys.org, there are Wiki documents with details of how to build/deploy the fileServersNG subsystem, and how to use the Docker image here - http://www.filesys.org/wiki/

The fileServersNG subsystem uses the JFileServer code, a fork of the Alfresco-JLAN code, with an optional Enterprise add-on that provides the SMB2/SMB3 support (that works with community or enterprise versions of Alfresco).