About leaving an AD domain
There is no Access Appliance command that lets you leave an AD domain. It happens automatically as a part of change in security or domain settings, and then starts or stops the CIFS server. Thus, Access Appliance provides the domain leave operation depending on existing security and domain settings. However, the leave operation requires the credentials of the old domain's user. All of the cases for a domain leave operation have been documented in Table: Commands to leave an AD domain.
Table: Commands to leave an AD domain
Command | Definition |
|---|---|
set security user | Sets the security user. If you change the security setting from ads to user and you stop or restart the CIFS server, it leaves the AD domain. When you change the security setting, and you stop or restart the CIFS server, the CIFS server leaves the existing AD domain. For example, the CIFS server leaves the existing AD domain if the existing security is ads, and the new security is changed to user, and the CIFS server is either stopped, or started again. If the CIFS server is already stopped, changing the security to a value other than ads causes Access Appliance to leave the domain. Both the methods mentioned earlier require either stopping or starting the CIFS server. This method of leaving the domain is provided so that if a CIFS server is already stopped, and may not be restarted in near future, you should have some way of leaving an existing join to AD domain. |