This content has been marked as final. Show 3 replies
Usually, one enables smb sharing through ZFS' sharing property, which uses the kernel built-in CFS. However, in SE11 the built-in CIFS lacked some features regarding AD domain integration, which is why I also used the separate package.
So, if you don't have to tie your S11 box to an existing AD you can get away with the built-in CIFS via ZFS sharing.
Installing the following package seems to solve that problem.This package was renamed to service/file-system/smb. The magic of pkg dependency resolution hides that from you so that old instructions continue to work.
# pkg install SUNWsmbs
Similarly, NAPP-IT installs the following package after which the "svcadm enable -r smb/server" command works correctly.pkg:/group/feature/storage-server has a dependencies on service/file-system/smb, library/samba/libsmbclient, and system/file-system/smb, which give CIFS client and server support.
# pkg install storage-server
But why install a package while CIFS is build into the S11 kernel? I have to admit that I don't understand it and the S11 diocumention does to mention the need to install any packages to enable smb.Just because something is built-in to the the kernel doesn't mean that it is part of the minimal core kernel - kernel modules extend the functionality of the kernel and the functionality found in kernel modules can rightly be said to be built-in. That is the case here. SMB (nee CIFS) is made up of kernel modules, libraries, commands, SMF services, man pages, etc. The system/file-system/smb package is what delivers those components. You can use 'pkg contents system/file-system/smb' to see which files are delivered by the package.
Appreciate the advice and explanations. I am new to UNIX/Linux and have litterally spent hours trying to figure out how to enable the smb server. Also, now that I know what packages to search for, I found the following useful link on S11 CIFS sharing.