/etc/syslog.conf:auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
svcadm restart system-log
NOTE: Put this line at the end of /etc/pam.conf first, so that new users will have their passwords synch'ed into the CIFS password database from the beginning.
other password required pam_smb_passwd.so.1 nowarn
NEWUSER=mark zfs create zdata/export zfs set mountpoint=/export zdata/export zfs set compression=on zdata/export zfs create zdata/export/home zfs create zdata/export/home/$NEWUSER useradd -d /home/$NEWUSER -s /usr/bin/zsh $NEWUSER chown -R $NEWUSER /export/home/$NEWUSER
NOTE: newer OpenSolaris releases no longer use the automounter for /home. I kind of like it, so I add it back in.
/etc/auto_home:* localhost:/export/home/&
svcadm restart autofs
svccfg -s svc:/system/webconsole setprop options/tcp_listen = true svcadm refresh svc:/system/webconsole svcadm disable webconsole svcadm enable webconsole
svcadm enable -r smb/server zfs set sharesmb=name=mark zdata/export/home/mark sharemgr show -vp smbadm join -w mccoy