How to rename an existing Active Directory NIS domain

Renaming a Windows NIS domain name may become essential as default NIS domain that IDMU captures is based on the existing domain name (excluding Top Level Domain name). In case we rename the AD Domain or we have a different NIS domain name already configured in UNIX; removing the existing AD NIS domain and then creatin a new one is the option. Here is the steps:


Remove old NIS domain:

  1. Close the IDMU Management Console (MMC) snap-in, if it is running.
  2. Start the ADSI Edit tool. To do this, click Start, click Run, type %programfiles%\Support Tools\adsiedit.msc, and then click OK.
  3. Expand Domain [], expand DC=example,DC=com, expand CN=System, expand CN=RpcServices, and then expand CN=YPSERV30.
  4. Under CN=YPSERV30, one container is displayed for each NIS map that you migrated to Active Directory.
  5. Under CN=YPSERV30, click CN=ContainerName, where ContainerName is the name of one of the NIS maps that you migrated to Active Directory. For example, click CN=passwd.
  6. If data for the particular NIS map is migrated to Active Directory, an object that corresponds to the UNIX domain appears in the right pane. For example, CN=UNIX_domain_name appears in the right pane, where UNIX_domain_name is the name of your UNIX-based domain.
  7. In the right pane, right-click CN=UNIX_domain_name, and then click Delete. When you receive the following message, click Yes: Are you sure you want to delete this object? Note: Do not remove the other objects that are located in this container. For example, do not remove the CN=byname object if it exists or the CN=bynumber object if it exists.
  8. Follow steps 4 through 6 to remove the CN=UNIX_domain_name object from each container that is under CN=YPSERV30.
  9. Update the schema by right cliecking on the domain node on the left hand side of the pane.
  10. Close the ADSI Edit tool.

These steps are captured from

Create a new NIS domain:

  1. Copy all the attached files (empty files) in the local system on Domain controller.
  2. Invoke “NIS Data Migration wizard.
  3. Enter any domain name here; like testNISDomain1 (this is primarily for information purpose; never used in any configuration).
  4. Enter administrative credential.
  5. Add all the maps except netid (it is taken care automatically by this wizard).
  6. Enter the location where we put the files in step (1)
  7. Enter the new domain name, like “testADNISDomain”.
  8. Choose “overwrite option”; in this case we are not entering any entry (blank files are in use).
  9. Choose “Migrate and log”.
  10. Move next; review the selection and finish the wizard.

 Reopen IDMU console to check the new NIS Domains and standard maps.