Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
To disable the SMB network service, type one of the following commands:
# svcadm disable application/network/samba |
# svcadm disable application/network/wins |