For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.
# svcs | grep samba
For example, the following output shows that the Samba service is running:
# svcs | grep samba legacy_run Aug_03 lrc:/etc/rc3_d/S90samba
# svcadm disable svc:/network/samba # svcadm disable svc:/network/wins