# 1. enable smb share
zfs set share=name=iMovie,path=/sp/important/movie,prot=smb sp/important/movie
zfs set sharesmb=on sp/important/movie
# 2. start server
# svcadm enable network/smb/server
# svcadm enable network/smb/client
svcadm enable -r smb/server
# 3. enable user
smbadm enable-user user1
# 4. vi /etc/pam.d/other
password required pam_smb_passwd.so.1 nowarn
# 5. change password for user1
passwd user1 |
# 1. enable smb share
zfs set share=name=iMovie,path=/sp/important/movie,prot=smb sp/important/movie
zfs set sharesmb=on sp/important/movie
# 2. start server
# svcadm enable network/smb/server
# svcadm enable network/smb/client
svcadm enable -r smb/server
# 3. enable user
smbadm enable-user user1
# 4. vi /etc/pam.d/other
password required pam_smb_passwd.so.1 nowarn
# 5. change password for user1
passwd user1