LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-31-2009, 03:11 PM   #1
Treikayan
Member
 
Registered: Oct 2008
Location: Albany Park, Chicago IL
Distribution: RHEL 5.1 i386
Posts: 75

Rep: Reputation: 15
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.

Last edited by Treikayan; 03-31-2009 at 03:15 PM.
 
Old 04-01-2009, 08:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
does getent passwd/group show you the accounts?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing VLC on CentOS 5.2 danielrajiitm Linux - Software 1 12-04-2008 05:48 PM
Auth failure on Debian LDAP Server with CentOS 5.2 Client odcheck Linux - Server 2 10-24-2008 12:47 PM
CentOS 4.4 - problems installing from CD's and DVD BCBirdman Linux - Server 0 02-28-2007 11:44 AM
Problems installing VMWare Server on CentOS 4.3 64bit shawn_t Linux - Server 3 11-27-2006 05:21 PM
LXer: LDAP Series Part IV - Installing OpenLDAP on Debian Plus Some LDAP Commentary LXer Syndicated Linux News 0 10-31-2006 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration