Share ZFS dataset through CIFS/Samba

Prerequisites:
If you use opensolaris, install SUNWsmbsr.

1. zfs set sharesmb=on rpool/export/home
sharemgm show -vp
2. svcadm enable smb/server
3.
stever@opensolaris:~# cat >> /etc/pam.conf

# Seem to need this line for smb / cifs:
other password required pam_smb_passwd.so.1 nowarn

(Control-D to end)

stever@opensolaris:~# passwd
passwd: Changing password for stever
New Password:
Re-enter new Password:
passwd: password successfully changed for stever

Comments