RH6: connect ldap-client to ldap-server
Install the ldap client packages :
yum install -y openldap openldap-clients pam_ldap nss-pam-ldapd authconfig
yum install -y oddjob-mkhomedir oddjob
Restart D-Bus, this might require to restart some services that rely on D-Bus, such as hal :
chkconfig messagebus on
service messagebus restart
Start the oddjob service :
chkconfig oddjobd on
service oddjobd start
Connect ldap client to ldapserver:
authconfig –enableldap –enableldapauth –ldapserver=<ldapserver1.fqdn>,<ldapserver1.fqdn> –ldapbasedn=”dc=example,dc=com” –enablemkhomedir –update
Leave a comment