Saturday, August 1, 2020

Vcenter 6.7: Idm client exception: Error trying to join AD, error code [41887]

Symptom:

Unable to join VMware vCenter 6.7 in to AD domain. While attempting, it showing error "idm client exception: Error trying to join AD, error code [41887], user [username@domain], domain [domain.local], orgUnit []"



Solution:

Join Vcenter to AD using Command Line.

1. Connect Vcenter Server Appliance with SSH.

2. Type "shell" to go to shell prompt.

3. Execute  "/opt/likewise/bin/domainjoin-cli join [domain] [user name]"
    Example: /opt/likewise/bin/domainjoin-cli join mylab.com labadmin"

/opt/likewise/bin/domainjoin-cli join

4. Enter the password of the AD user you specified in the command.

5. Reboot the Appliance with command "reboot"

6. Login again via ssh and verify AD join status with below command.
    /opt/likewise/bin/domainjoin-cli query



2 comments:

  1. Works like a charm, Thank you!

    ReplyDelete
  2. Thanks a lot for the solution, but I am getting the below error:
    "Error: DNS_ERROR_BAD_PACKET [code 0x0000251e]"
    can you please suggest me a solution on the above issue...

    ReplyDelete

Enter Comments...