*You can use zfs share.*
Usually setting share options via zfs set share (ex ABE or guestaccess) is the easiest way
https://illumos.org/man/8/zfs

*You can also use sharemgr*
https://illumos.org/man/8/sharemgr

If you look ad Solaris admin pages, prefer those from Solaris 11.2 or 11.2.
They fit quite well foe Illumos. Solaris 11.4 share management is different.

*If you come from Linux or SAMBA:*
- there is no smb.conf, settings are done via sharectl ex display share proprties: sharectl get smb https://illumos.org/man/8/sharectl or are ZFS filesystem properties (share/file ACL, aclmode, aclinherit)

Solaris/ Illumos SMB is NFS v4 ACL only
Avoid using simple permissions like 755 as they remove ACL inheritance
https://docs.oracle.com/cd/E23824_01/html/821-1448/gbacb.html

Solaris/ Illumos SMB is using Windows SID instead Unix uid as user/ACL reference, No AD mapping uid <-> SID needed, AD ACL remain intact when you move/restore a filesystem

Solaris/ Illumos adds Windows compatible SMB group management (with a unique SID instead gid) that can contain other groups
https://illumos.org/man/8/smbadm

On Solaris/ Illumos SMB sharing is a strict property of a ZFS filesystem (SAMBA can use simple folders, does not care about ZFS)
-> always working ZFS snaps?Windows previous versions without any settings

*some additional infos,*
https://www.napp-it.org/doc/downloads/solarish_smb.pdf
https://www.napp-it.org/doc/downloads/AlanWright_OpenSolaris_CIFS.pdf (origin of Solaris SMB)
https://forums.servethehome.com/index.php?threads/multithreaded-solaris-illumos-smb-server-with-nfs4-acl-and-windows-sid.41852/

Gea

Hello,

I'm new to Illumos / OmniOS and looking at replacing my actual SAMBA server (in workgroup) with OmniOS.

After reading a bunch of man pages and online documentation, I'm quite puzzled. In Oracle Solaris 11.4, they say
The legacy|sharemgr|command is no longer available to manage SMB shares. Instead, use the enhanced|zfs|,|share|, and|unshare|commands. Also, the automatic sharing of SMB and NFS shares is managed by SMF rather than by the legacy|/etc/dfs/dfstab|file, which has been removed.

What is the proper way to manage SMB shares on Illumos / OmniOS ?
Is it sharemgr or zfs (un)share ?

Thank you.

PS: I already asked this on omnios-discuss but was told I should ask here (too).


--
Guenther Ernst Alka
Dipl.-Ing (FH)

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T10871ae5205bb53b-M83b142b14f9312afcec1a1f7
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to