Fedora 27
Sponsored Link

Configure FreeIPA Client2017/12/25

 
Configure FreeIPA Client to connect to FreeIPA Server.
[1] Add DNS entry for FreeIPA client on FreeIPA server first. (if not using FreeIPA integrated DNS, no need to add)
# ipa dnsrecord-add [domai name] [recorde name] [record type] [record]

[root@dlp ~]#
ipa dnsrecord-add ipa.srv.world client01 --a-rec 10.0.0.31

  Record name: client01
  A record: 10.0.0.31
[2]
Install NTPd on FreeIPA Client. (NTPd is required on FreeIPA, not Chrony)
[3] Install Client tools on FreeIPA Client.
[root@client01 ~]#
dnf -y install freeipa-client
[4] Setup as a FreeIPA Client. Sync time with FreeIPA server before it.
# setup Client with specifying FreeIPA server and Domain name

[root@client01 ~]#
ipa-client-install --server=dlp.ipa.srv.world --domain ipa.srv.world

Autodiscovery of servers for failover cannot work with this configuration.
If you proceed with the installation, services will be configured to always access the discovered 
server for all operations and will not fail over to other servers in case of failure.
Proceed with fixed values and no DNS discovery? [no]: yes
Client hostname: client01.ipa.srv.world
Realm: IPA.SRV.WORLD
DNS Domain: ipa.srv.world
IPA Server: dlp.ipa.srv.world
BaseDN: dc=ipa,dc=srv,dc=world

# confirm settings and proceed with [yes]
Continue to configure the system with these values? [no]: yes
Synchronizing time with KDC...
# answer with admin
User authorized to enroll computers: admin
# admin password
Password for admin@IPA.SRV.WORLD:
Successfully retrieved CA cert
    Subject:     CN=Certificate Authority,O=IPA.SRV.WORLD
    Issuer:      CN=Certificate Authority,O=IPA.SRV.WORLD
    Valid From:  2017-12-26 01:19:51
    Valid Until: 2037-12-26 01:19:51

Enrolled in IPA realm IPA.SRV.WORLD
.....
.....
NTP enabled
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Configuring ipa.srv.world as NIS domain.
Client configuration complete.
The ipa-client-install command was successful

# configure mkhomedir if you need ( homedirs of users are created at inital login )

[root@client01 ~]#
authconfig --enablemkhomedir --update
[root@client01 ~]#
logout
Fedora 27 (Server Edition)
Kernel 4.14.3-300.fc27.x86_64 on an x86_64 (ttyS0)

Admin Console: https://10.0.0.31:9090/ or https://[fe80::5054:ff:fecf:ca97]:9090/

client01 login:
redhat
# IPA user

Password:
# password

Password expired. Change your password now.  
# required to change the password when initial login

Current Password:
# current password

New password:
# new password

Retype new password:
Creating home directory for redhat.
[redhat@client01 ~]$
# just logined
Matched Content