please add SMB2 support in Illumos

Added by Guenther Alka over 2 years ago

We want to use OpenIndiana as our main filer for our students in a Mac/ Windows/ AD environment.
With newest Apple OS Lion 10.7 Apple decided to replace SAMBA with their own SMB stack SMBX that seems to support SMB2 only

SMB2 is no longer a nice to have in ZFS but a needed feature for any serious SMB server
see https://discussions.apple.com/thread/3196311?start=0&tstart=0


Replies (6)

RE: please add SMB2 support in Illumos - Added by Lucas Van Tol over 2 years ago

I've been trying some stuff with OSX 10.7 / Open[Solaris|Indiana] in an AD environment; and so far I haven't had problems connecting to the share; although various problems come up after that.

Finder seems to be the main issue. Terminal works fine with shares, as well as various Save/Open dialogs I've tried (although they still show the little red circle with a white line sometimes, it still works).
I don't think SMB2 support is actually required for interoperability, probably just some server and/or client side workarounds.

Using AppleScript to send 'Open' commands to finder seems to work as well. ( tell application 'Finder' to open folder works, even if double clicking didn't.) You can build a small applescript based on that as a workaround.

Finder DOES seem to work correctly after a reconnect to a share.
Simply disconnect/block the connection between the OSX client and the server for ~20 seconds while the share is connected, and it should start trying to reconnect.
After reconnecting, Finder starts getting the correct permissions, runs at expected speed, etc. I wonder if there is something Finder incorrectly cached during the initial connect?
I noticed that when Finder was denying permissions, it wasn't bothering to consult the server. (no packets going between the two systems...)
Older releases (specifically, OpenSolaris SNV_129) seem to interact better, although still not quite right. They also start behaving after reconnecting...

I haven't tried in workgroup mode yet, so not sure how that affects things.

RE: please add SMB2 support in Illumos - Added by Guenther Alka over 2 years ago

This is a problem, not introduced by OI but by Apple and their ignorance about user needs beside i.something.
Apple has not only lost 'computer' in its name but also focus on pro-users.

But Apple is not only the most valuable company on earth now, they set facts.
They have decided to throw away floppies, iscsi, optical drives, afp-compatibility and
now smb1 to not care about 'old problems'.

Illumos and the main company behind (Nexenta) should also care about. Illumos and all distributions based on
it like next Nexenta* or OpenIndiana are mainly storage-distributions. This is the real killer aspect of ZFS and SMB
file service is the major part of it. SMB2 is therefor a must to have as soon as possible.
My hope is: Lets do it sooner with more efforts

The Apple thing is hopely solved with a 10.7.xx update. In the meantime i have to use Dave.

RE: please add SMB2 support in Illumos - Added by Jarkko Torppa over 2 years ago

I just upgraded my Mac to 10.7, and have been affected by this.

My home NAS is running Nexenta 3.0.4, I got things working by

smb/cifs: Using port 445 for cifs (changed this is avahi service)
afp: Installing libgrypt and compiling netatalk 2.2.0 with umas_dhx2 enabled

RE: please add SMB2 support in Illumos - Added by Guenther Alka over 2 years ago

Problem seems solved
hope we get it soon as a OI update:

https://www.illumos.org/issues/1718

RE: please add SMB2 support in Illumos - Added by Lucas Van Tol over 2 years ago

I just tried recompiling and replacing smbsrv on an oi_148 system, and its seems to work with OSX 10.7 clients now.
Hopefully not much regression testing needed with that one line code change...

RE: please add SMB2 support in Illumos - Added by Lucas Van Tol over 2 years ago

Lucas Van Tol wrote:

I just tried recompiling and replacing smbsrv on an oi_148 system, and its seems to work with OSX 10.7 clients now. Hopefully not much regression testing needed with that one line code change...

  • with that patch.

(1-6/6)