After setting up the server and the simple client preparation we should ensure that our FreeIPA server will authenticate our users.
step.1. edit the hosts file and add server IP address and fully qualified domain name
vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 127.0.1.1 client.local.test client
step.2. edit the hostname file and set fully qualified domain name
vi /etc/hostname
client.local.test
step.3. install the bind utils
dnf install bind-utils
step.4. to test the DNS record of server name – the response should be IP address
dig +short client.local.test
10.10.10.20
step.5. and check the reverse dns – correct response
dig +short -x 10.10.10.20
client.local.test
step.6. make sure that the ipa server is the first DNS
cat /etc/resolv.conf
search local.test nameserver 10.1.1.1
step.7. install the package
yum install freeipa-client
step.8. run the installation script
ipa-client-install --mkhomedir --force-join
Well, now you login to the system with your domain credentials where username is:
user@local.test
Documentation:
RHEL Client Documentation
FreeIPA Fedora Client Configuration Guide