Realm join command is failing with "Couldn't join realm: The computer-ou argument must be a valid LDAP DN and contain only OU=xxx RDN values."
Issue
- Realm join command is failing with
Couldn't join realm: The computer-ou argument must be a valid LDAP DN and contain only OU=xxx RDN values.
i.e:
# realm join example.com -U djoiner -v
* Resolving: _ldap._tcp.example.com
* Performing LDAP DSE lookup on: 192.168.1.1
* Performing LDAP DSE lookup on: 192.168.1.2
* Successfully discovered: Example.com
Password for djoiner:
* Required files: /usr/sbin/oddjobd, /usr/libexec/oddjob/mkhomedir, /usr/sbin/sssd, /usr/bin/net
! The computer-ou argument must be a valid LDAP DN and contain only OU=xxx RDN values.
realm: Couldn't join realm: The computer-ou argument must be a valid LDAP DN and contain only OU=xxx RDN values.
Environment
- Red Hat Enterprise Linux 7.x
- Red Hat Enterprise Linux 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.