realm command is failing with an error: "adcli: joining domain example.com failed: Could not create computer account (Failed to join the domain)"

Solution Verified - Updated -

Issue

  • realm command is failing with an error:
Computer account for RHEL8$ does not exist
Couldn't find a computer container in the ou, creating computer account directly in: OU=Application,OU=Servers,dc=example,dc=com
Calculated computer account: CN=RH,OU=Application,OU=Servers,dc=example,dc=com
Couldn't create computer account: CN=RHEL8,OU=Application,OU=Servers,dc=example,dc=com: 00002083: AtrErr: DSID-031519D9, #2:
adcli: joining domain example.com failed: Couldn't create computer account: CN=RHEL8,OU=Application,OU=Servers,dc=example,dc=com: 00002083: AtrErr: 
  ! Failed to join the domain

Environment

  • Red Hat Enterprise Linux 8.x
  • Red Hat Enterprise Linux 7.x
  • adcli
  • realm

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In