NetApp ONTAP NAS icon

NetApp ONTAP NAS

Manage NetApp ONTAP CIFS shares, NFS exports, and NAS protocols

Actions27

CIFS Service → Create

AI-generated

Summary

Create a new CIFS (SMB) service on a specified Storage Virtual Machine (SVM) within a NetApp ONTAP cluster, joining it to an Active Directory domain.

Inputs

  • Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF for API connection.
  • Port — HTTPS port for the ONTAP REST API; defaults to 443.
  • SVM (required) — The name of the Storage Virtual Machine (SVM) on which to create the CIFS service.
  • NetBIOS Name (required) — NetBIOS name to assign to the CIFS server.
  • AD Domain (required) — Active Directory domain fully qualified domain name (FQDN) to join.
  • AD Username (required) — Active Directory username with permissions to join the domain.
  • AD Password (required) — Password for the Active Directory user.
  • Additional Options — Optional parameters including a comment, default Unix user, and organizational unit within the AD domain.

Output shape

a JSON object representing the created CIFS service, including job status if asynchronous, or confirmation of creation

If the creation initiates an asynchronous job, the node polls until the job completes and includes the final job details in the output.

Examples

Example 1: Create a CIFS service to enable SMB access on an SVM and join it to an AD domain

Set Cluster Host and optional Port for ONTAP API, specify the target SVM by name, provide the NetBIOS server name, AD domain FQDN, AD username and password, and optionally include a comment or default Unix user. Execution returns details of the created CIFS service.

Links

Discussion