I need to rename/recreate a domain from example to lan.example.com.
- Current PDC for "example" Windows 2003 SBS domain with 0 computers added to domain
- It has user accounts created that users use to log into SharePoint, this is the only part i want to preserve - accounts
This should be simple as i don't have any computers connected to the domain.
Thought #1 - remove and add a domain
I thought i will just:
- remove domain and add with a new name (with dcpromo)
But i feared when it warned that "All user accounts in this domain will be deleted". No, don't do that...
Thought #2 - have a secondary computer to help
So i thought i`ll do:
- Make a computer B as PDC for lan.example.com
- Export users from A (that hosts "example" domain) and import on computer B with ldifde utility
- Remove domain from the computer A
- Install on computer A domain lan.example.com
- Set A as PDC and B as BDC. (swap)
I`m not aware if those steps can be done, so that's why the question is here - can it be done that way? Can someone suggest a more simple way to do it that would not involve computer B? It would be excellent if passwords could be preserved.
Edit after more than a year: a word about single label domains
Looks like upcoming Microsoft SharePoint 2013 don't even support single label domain (SLD):
SharePoint 2013 Preview does not support single label domain (SLD) names or single label forests, in either the domain of the SharePoint service accounts or the SharePoint end user's domain. (technet)
As i read, as of Windows Server 2008 R2 its not possible to create single label domains (KB: Information about configuring Active Directory domains by using single-label DNS names)
Looks like domain rename will be a task if we ever decide to upgrade SharePoint and the mentioned KB article provides two options:
Transitioning from a single-label DNS domain name to a fully qualified DNS name is non-trivial and consists of two options. Either migrate users, computers, groups, and other states to a new forest. Or, perform a domain rename of the existing domain. Some server-based applications are incompatible with the domain rename feature that is supported in Windows Server 2003 and newer domain controllers. These incompatibilities either block the domain rename feature or make the use of the domain rename feature more difficult when you try to rename a single-label DNS name to a fully qualified domain name.