Recent experience with samba on Solaris shows an issue with SMBD and WINS after an update. svcs-xv will show it in a maintenance state:
svcs -vx svc:/network/wins:default (MS Win. domain naming daemon) State: maintenance since August 8, 2011 8:38:35 AM EDT Reason: Start method failed repeatedly, last exited with status 1. See: http://sun.com/msg/SMF-8000-KS See: named(1m) See: smb.conf(4) See: /var/svc/log/network-wins:default.log Impact: This service is not running. svc:/network/samba:default (SMB file server) State: maintenance since August 8, 2011 8:38:34 AM EDT Reason: Start method failed repeatedly, last exited with status 1. See: http://sun.com/msg/SMF-8000-KS See: smbd(1m) See: smb.conf(4) See: /var/svc/log/network-samba:default.log Impact: This service is not running.
Sometimes, /var/samba/log will show you the problem, sometimes it won’t. The issue is that it can’t find the smb.conf file in /etc/samba/. Just check for a simlink in there to the /etc/sfw/smb.conf file. I don’t know why Solaris upgrades remove the symlink. Nor do I know why a fresh install of Solaris has it set up this way to begin with and updates break it. But the fix is pretty simple:
svcadm disable svc:/network/samba:default svcadm disable svc:/network/wins:default cd /etc/samba/ ln -s /etc/sfw/smb.conf . svcadm clear svc:/network/samba:default svcadm clear svc:/network/wins:default svcadm enable svc:/network/samba:default svcadm enable svc:/network/wins:default svcs -vx