- Download the latest rpmforge-release rpm from http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/
- Install rpmforge-release rpm:
rpm -Uvh rpmforge-release*rpm
-
Install nsscache rpm package:
yum install nsscache
- edit /etc/nsscache.conf to set up which system databases you wish to synchronise, and to set local configuration parameters.
- run following command to perform a full update
-
nsscache update --full
-
- run following command to confirm that the system is configured:
-
nsscache verify
-
- edit /etc/nsswitch.conf to point your local database to use the cache nss module, or the db module.
passwd: files ldap [NOTFOUND=return] db shadow: files ldap [NOTFOUND=return] db group: files ldap [NOTFOUND=return] db
- Run
to test if the entries are pulled from the servergetent passwd
Search This Blog
Install nsscache on CentOS 6
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment