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:
- Close the IDMU Management Console (MMC) snap-in, if it is running.
- Start the ADSI Edit tool. To do this, click Start, click Run, type %programfiles%\Support Tools\adsiedit.msc, and then click OK.
- Expand Domain [ServerName.example.com], expand DC=example,DC=com, expand CN=System, expand CN=RpcServices, and then expand CN=YPSERV30.
- Under CN=YPSERV30, one container is displayed for each NIS map that you migrated to Active Directory.
- 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.
- 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.
- 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.
- Follow steps 4 through 6 to remove the CN=UNIX_domain_name object from each container that is under CN=YPSERV30.
- Update the schema by right cliecking on the domain node on the left hand side of the pane.
- Close the ADSI Edit tool.
These steps are captured from http://support.microsoft.com/kb/891767.
Create a new NIS domain:
- Copy all the attached files (empty files) in the local system on Domain controller.
- Invoke “NIS Data Migration wizard.
- Enter any domain name here; like testNISDomain1 (this is primarily for information purpose; never used in any configuration).
- Enter administrative credential.
- Add all the maps except netid (it is taken care automatically by this wizard).
- Enter the location where we put the files in step (1)
- Enter the new domain name, like “testADNISDomain”.
- Choose “overwrite option”; in this case we are not entering any entry (blank files are in use).
- Choose “Migrate and log”.
- Move next; review the selection and finish the wizard.
Reopen IDMU console to check the new NIS Domains and standard maps.