Joining an SVM to an Active Directory domain
You can join a storage virtual machine (SVM) to an Active Directory domain without deleting the existing SMB/CIFS server by modifying the domain using the vserver cifs modify command. You can rejoin the current domain or join a new one.
Before you begin
The SVM must already have a DNS configuration.
The DNS configuration for the SVM must be able to serve the target domain.
The DNS servers must contain the service records (SRV) for the domain LDAP and domain controller servers.
About this task
The administrative status of the CIFS server must be set to
down
to proceed with Active Directory domain modification.If the command completes successfully, the administrative status is automatically set to
up
.When joining a domain, this command might take several minutes to complete.
Example
In the following example, the SMB/CIFS server CIFSSERVER1
on SVM vs1 joins the example.com domain using keytab authentication:
cluster1::> vserver cifs modify -vserver vs1 -domain example.com -status-admin down -keytab
-uri http://admin.example.com/ontap1.keytab
cluster1::> vserver cifs show
Server Status Domain/Workgroup Authentication
Vserver Name Admin Name Style
--------- ----------- --------- ---------------- --------------
vs1 CIFSSERVER1  up EXAMPLE domain