Solaris CIFS Administration Guide
Previous Next

Disabling the Samba Service

The Samba and CIFS services cannot be used together on a single Solaris system. If you want to run the Solaris CIFS service, you must first ensure that a running Samba service is disabled.

If your Solaris system is running the Samba service, disable it before starting the Solaris CIFS service.

How to Disable the Samba Service

  1. 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 configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Verify that the Samba service is running.
    # svcs | grep samba

    For example, the following command shows that the Samba service is running:

    # svcs | grep samba
    legacy_run     Aug_03   lrc:/etc/rc3_d/S90samba
  3. Disable the Samba service.
    # svcadm disable svc:/network/samba
    # svcadm disable svc:/network/wins
Previous Next