realm: Couldn't join realm

Latest response

I want to join an Active Directory so I followed the Windows Integration guide (https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/windows_integration_guide/index)but I came across an issue which I am unable to get a solution

so when I use the following command
"sudo realm join DOMAIN"
and entering the admin password I get this error and I am stuck

See: journalctl REALMD_OPERATION=r103.3383
realm: Couldn't join realm: cannot update repo 'rhel-8-for-x86_64-sap-solutions-source-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for https://cdn.redhat.com/content/dist/rhel8/8.0/x86_64/sap-solutions/source/SRPMS/repodata/repomd.xml

and following command shows

$ journalctl REALMD_OPERATION=r103.3383

Jul 19 12:52:50 admin realmd[3386]: * Resolving: _ldap._tcp.DOMAIN
Jul 19 12:52:50 admin realmd[3386]: * Performing LDAP DSE lookup on: DNS
Jul 19 12:52:50 admin realmd[3386]: * Successfully discovered: DOMAIN
Jul 19 12:53:08 admin realmd[3386]: * Couldn't find file: /usr/sbin/oddjobd
Jul 19 12:53:08 admin realmd[3386]: * Required files: /usr/sbin/oddjobd, /usr/libexec/oddjob/mkhomedir, /usr/sbin/sssd, /usr/sbin/adcli
Jul 19 12:53:08 admin realmd[3386]: * Resolving required packages
Jul 19 12:53:16 admin realmd[3386]: ! cannot update repo 'rhel-8-for-x86_64-sap-solutions-source-rpms': Cannot download repomd.xml: Cannot download download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for https://cdn.redhat.com/content/dist/rhel8/8.0/x86_64/sap-solutions/source/SRPMS/repodata/repomd.xml

I tried enabling the "rhel-8-for-x86_64-sap-solutions-source-rpms" and after a yum update I get an error that Error: Failed to synchronize cache for repo 'rhel-8-for-x86_64-sap-solutions-source-rpms'
I tried cleaning the cache and reattaching my subscription and it still doesnot work

I went as far as reinstalling my RHEL8 and it still does not work

I don't know what to do next

Any suggestions?

Responses