Issues while adding CentOS EC2 to Windows AD

Issues related to configuring your network
Post Reply
idiot
Posts: 4
Joined: 2022/01/29 12:42:30

Issues while adding CentOS EC2 to Windows AD

Post by idiot » 2022/01/29 12:49:35

I am trying to add my CentOS EC2 machine to Windows AD. I have performed the following steps according to this https://www.linuxtechi.com/integrate-rh ... directory/

Still, I am listing down the steps which I have executed on my Server.

Change Host Name :

Code: Select all

echo centos > /etc/hostname
Install necessary packages :

Code: Select all

yum install sssd realmd oddjob oddjob-mkhomedir adcli samba-common samba-common-tools krb5-workstation openldap-clients policycoreutils-python
Added my AD Server entry in /etc/hosts/ :

Code: Select all

10.7.20.6 XYZ.local MYAD

10.7.20.8 XYZ.local MYAD
Join domain :

Code: Select all

 realm join -v --user=user-idiot XYZ.local
This operation is successful

realm list output :

Image

But when I try to Check and Verify AD users on CentOS 7 Server using the

Code: Select all

id user-idiot@xyz.local
command, I am getting a

Code: Select all

no such user message.
I am not able to understand what I missed?

It will be great if someone could help me to understand the root cause of the issue.
Attachments
realm_output
realm_output
relam.png (10.01 KiB) Viewed 3282 times

idiot
Posts: 4
Joined: 2022/01/29 12:42:30

Re: Issues while adding CentOS EC2 to Windows AD

Post by idiot » 2022/01/31 09:51:41

Any clue will be helpful.

idiot
Posts: 4
Joined: 2022/01/29 12:42:30

Re: Issues while adding CentOS EC2 to Windows AD

Post by idiot » 2022/02/03 12:17:52

The issue is resolved. The complete answer is present here :

https://serverfault.com/questions/10915 ... 25#1092525

Post Reply