Configuring OPENLDAP client RHEL 6.4 for authentication
My machine name is client
the dns suffix is testing.com
the basedn for the openldap server is dc=test,dc=com
the admin for the openldap is cn=admin,dc=test,dc=com
I am configuring a RHEL6.4 openldap client to authencitate to a UBUNTU 14.04 openldap server. I installed the following packages:
openldap-clients nss-pam-ldapd openldap
I ran the authconfig to configure the access:
authconfig --enableldap \
--enableldapauth \
--ldapserver=client.testing.com \
--ldapbasedn="dc=test,dc=com" \
--enablemkhomedir \
--update
It ran with no errors. But the RHEL machine will not authenticate through the ldap.
i ran the getent passwd command which is supposed to show all users(openldap users, and local users) but it only showed the local users.
i ran the following command:
ldapsearch -x -W -D "cn=admin,dc=test,dc=com" -b "dc=test,dc=com" "(objectclass=*)"
And that brought up all the users i have on the Ubuntu 14.04 openldap server.
Is there something that i am missing? or did i do something wrong?
Last edited by wheel2068; 12-10-2015 at 06:15 PM.
|