Questo contenuto non è disponibile nella lingua selezionata.
Chapter 8. Adjusting IdM clients during recovery
While IdM servers are being restored, you may need to adjust IdM clients to reflect changes in the replica topology.
Procedure
Adjusting DNS configuration:
-
If
/etc/hostscontains any references to IdM servers, ensure that hard-coded IP-to-hostname mappings are valid. -
If IdM clients are using IdM DNS for name resolution, ensure that the
nameserverentries in/etc/resolv.confpoint to working IdM replicas providing DNS services.
-
If
Adjusting Kerberos configuration:
By default, IdM clients look to DNS Service records for Kerberos servers, and will adjust to changes in the replica topology:
grep dns_lookup_kdc /etc/krb5.conf
[root@client ~]# grep dns_lookup_kdc /etc/krb5.conf dns_lookup_kdc = trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow If IdM clients have been hard-coded to use specific IdM servers in
/etc/krb5.conf:grep dns_lookup_kdc /etc/krb5.conf
[root@client ~]# grep dns_lookup_kdc /etc/krb5.conf dns_lookup_kdc = falseCopy to Clipboard Copied! Toggle word wrap Toggle overflow make sure
kdc,master_kdcandadmin_serverentries in/etc/krb5.confare pointing to IdM servers that work properly:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Adjusting SSSD configuration:
By default, IdM clients look to DNS Service records for LDAP servers and adjust to changes in the replica topology:
grep ipa_server /etc/sssd/sssd.conf
[root@client ~]# grep ipa_server /etc/sssd/sssd.conf ipa_server = _srv_, functional-server.example.comCopy to Clipboard Copied! Toggle word wrap Toggle overflow If IdM clients have been hard-coded to use specific IdM servers in
/etc/sssd/sssd.conf, make sure theipa_serverentry points to IdM servers that are working properly:grep ipa_server /etc/sssd/sssd.conf
[root@client ~]# grep ipa_server /etc/sssd/sssd.conf ipa_server = functional-server.example.comCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Clearing SSSD’s cached information:
The SSSD cache may contain outdated information pertaining to lost servers. If users experience inconsistent authentication problems, purge the SSSD cache :
sss_cache -E
[root@client ~]# sss_cache -ECopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Verify the Kerberos configuration by retrieving a Kerberos Ticket-Granting-Ticket as an IdM user.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Verify the SSSD configuration by retrieving IdM user information.
id admin
[root@client ~]# id admin uid=1965200000(admin) gid=1965200000(admins) groups=1965200000(admins)Copy to Clipboard Copied! Toggle word wrap Toggle overflow