LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems installing LDAP Client on CentOS 5.1 (https://www.linuxquestions.org/questions/linux-software-2/problems-installing-ldap-client-on-centos-5-1-a-715866/)

Treikayan 03-31-2009 03:11 PM

Problems installing LDAP Client on CentOS 5.1
 
Hello,

I am having a problem with a client server trying to authenticate with the LDAP server. We have other clients that access the LDAP server just fine. This is a new client I'm working with. Here is what I have done so far.

I installed the following packages:
openldap, openldap_clients, auth_ldap, nss_ldap

I modified the /etc/openldap/ldap.conf and /etc/ldap.conf files:

/etc/ldap.conf

Code:

base dc=domain,dc=net
.
.
uri ldap://<IP Address>/
ssl no
tls_cacertdir /etc/openldap/cacerts
pam_password md5

/etc/openldap/ldap.conf

Code:

URI ldap://<IP Address>/
BASE dc=domain,dc=net
TLS_CACERTDIR /etc/openldap/cacerts

/etc/nsswitch.conf

Code:

passwd:    files ldap
shadow:    files ldap
group:      files ldap
.
.
netgroup:  files ldap
.
automount:  files ldap

/etc/sysconfig/authconfig

Code:

USELDAPAUTH=yes
I am still having problems after all these changes. I keep getting access denied when I try to log in with my LDAP username/password. My SELinux level is set to permissive also.

acid_kewpie 04-01-2009 08:31 AM

does getent passwd/group show you the accounts?


All times are GMT -5. The time now is 04:00 AM.