Integrate OpenLdap with CentOS using SSSD
How to integrate OpenLdap with Centos 8 using SSSD?
Run the following commands to install the SSSD packages
Add ldap_search_base,ldap_default_bind_dn,ldap_default_authtok,ldap_uri to /etc/sssd/sssd.conf
Restart sssd and nscd using below commands.
[[email protected] ~]# service sssd restart && service nscd restart
When sssd restart fails, make sure to change the permissions of sssd.conf to 600
[[email protected] ~]# chmod 600 /etc/sssd/sssd.conf
Enable autocreate home directory on login by the following command
Now run the id / finger command and see whether you are able to get LDAP user details
Use the below command to clear the cache of the user.
[[email protected] ~]# sss_cache -u username
Related Information
Integrate Windows AD on RHEL 8 using SSSD
Integrate Windows AD with Centos 8 using SSSD