VMware vSphere

 View Only
  • 1.  Domain Join Error

    Posted Jul 12, 2023 11:01 AM

    I'm trying to join a Vcenter 8.01 to an AD domain but I get this error

    idm client exception: Error trying to join AD, error code [40121],

    anyone had found a fix for this ?

     



  • 2.  RE: Domain Join Error

    Posted Jul 12, 2023 11:47 AM

    can you resolve the domain name from vcenter shell? 

    next place to look is the AD user you are using to join the domain, does that user have permission to join domain?



  • 3.  RE: Domain Join Error

    Posted Jul 12, 2023 12:40 PM

    Are you using your domain controller's DNS on the vCenter?

    It's the most comman cause for not joining to the DC

    Regards,

    Sachchidanand



  • 4.  RE: Domain Join Error

    Posted Jul 12, 2023 01:41 PM

    Hi all,

    The problem with the error was a networking issue that we fixed but still we have something strange happening.

    Now we're able to join, apparently, the vcenter to the domain:

    - we see the  Vcenter's computer object created in the AD

    - we see the following in the vcenter

    scolombo_1-1689169271882.png

     

     

    however after the required reboot, but even after a browser refresh, the situation gets back as we didn't do the join

     



  • 5.  RE: Domain Join Error

    Posted Dec 14, 2023 06:57 PM

    Also having this issue.

    When I try from the command line I get this error:

    /opt/likewise/bin/domainjoin-cli join domain.local user.name <password>
    Joining to AD Domain:    domain.local
    With Computer DNS Name: USAVCENTER02.domain.local


    Error: LW_ERROR_DOMAIN_IS_OFFLINE [code 0x00009cb9]
     


  • 6.  RE: Domain Join Error

    Posted Dec 15, 2023 02:20 AM

    Please check the connectivity to AD from vCenter. Also check all the required ports should be open (both udp and tcp)

    Port 88 - Kerberos authentication
    Port 123 – NTP
    Port 135 - RPC
    Port 137 - NetBIOS Name Service
    Port 139 - NetBIOS Session Service (SMB)
    Port 389 - LDAP
    Port 445 - Microsoft-DS Active Directory, Windows shares (SMB over TCP)
    Port 464 - Kerberos - change/password changes
    Port 3268- Global Catalog search

    Regards,

    Sachchidanand