Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

What happens to the AD domain computer object when that computer is renamed?

$
0
0

Hi all,

To make my question clear, I'd like to give an example environment setup.

AD domain: domaintest.com
test client computer name: TEST1
DC computer name: DOMAIN-DC

Now, join TEST1 to domaintest.com, and then DOMAIN-DC has "TEST1" in the Computer list.

Reboot TEST1, and then rename it to "TEST2". Input domain user account, and then renaming succeeds. Now, in DOMAIN-DC, "TEST1" disappeared in the Computer list, but a new object "TEST2" appears.

My question is: when renaming a computer that has joined to the AD domain, is the original computer object in the domain also renamed, or is it deleted and then AD creates a new computer object? This makes sense because if the computer object is deleted and created, the 2 objects may have different properties, such as machine password which will be used for machine authentication.

What's more, is there any programmatical (C/C++/C#/WMI, whatsoever) API to delete/create or rename an AD domain computer object? Or, is there any protocols that operates upon domain computer objects? I wanna see more detail about operating, primarily remotely, domain computer objects.

These questions are important to me in that I'm evaluating Ubuntu and AD domain. Ubuntu uses Likewise Open to cooperates with AD domain, and this tool provides some basic functions such as joining and leaving domain. When I use Likewise Open to leave an joined-to-domain Ubuntu from the domain, I found the responding computer object in AD domain does not disappear, as would affect my evaluation - rename an Ubuntu hostname, leave the domain, rejoin the domain, and 2 different computer objects would be in the Computer list.

Any help would be appreciated! Thanks!




Viewing all articles
Browse latest Browse all 31638

Trending Articles