I am trying to join the domain for readhat server to our current Windows AD. The software using realm, to be honest I am not really familiar.
I installed the software needed but still have problem to connect/register to the domain.
This is what i did (server name I changed)
RHEL 7.4 server name: stl01
AD name: K1.LOCAL
AD server: kocdc01.k1.local
The command:
# hostname
stl01
# realm join --user=adm_narahariak@K1.LOCAL --computer-ou="OU=Linux,OU=K1 Servers,DC=m1,DC=local kocdc01.k1.local" --verbose
.......
* Created computer account: CN=STL01,OU=Linux,OU=K1 Servers,DC=k1,DC=local
* Sending netlogon pings to domain controller: cldap://10.24.90.54
* Received NetLogon info from: KOCDC01.k1.local
! Couldn't set password for computer account: STL01$: Cannot contact any KDC for requested realm
adcli: joining domain k1.local failed: Couldn't set password for computer account: STL01$: Cannot contact any KDC for requested realm
! Failed to join the domain
realm: Couldn't join realm: Failed to join the domain
#
It failed. But I checked in the OU, the name STL01 has been register (after i run the realm join command). Anyone experience with this?
Thank you,
Iwan Tamimi
Our community of experts have been thoroughly vetted for their expertise and industry experience.