LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-21-2011, 05:50 AM   #1
jitendra bhaskar
LQ Newbie
 
Registered: Apr 2010
Location: Bombay
Distribution: RHEL-5 and CentOS-6
Posts: 23

Rep: Reputation: 0
Post LDAP configuration issue


I have install openldap on CentOS and configuration is as follows

Server ( CentOS)

Openldap-2.3.43
IP 192.168.0.10
netmask 255.255.255.0
user name for ldap is ldapuser
In ldap.conf
URI ldap://192.168.0.10/
BASE dc=example,dc=com
TLS_CACERTDIR /etc/openldap/cacerts (Created Certificate on Server)

after testing LDAP data base using
#ldapsearch -x -b 'dc=example,dc=com' '(obljectclass=*)'

O/p was working fine but now its giving me error as follows

ldap_bind: Can't contact LDAP server (-1)



2. Client (Ubuntu)
IP 192.168.0.20
netmask 255.255.255.0

conf file at /etc/ldap/ldap.conf
HOST 192.168.0.10
BASE dc=example,dc=com
TLS_REQCERT allow
TLS_CACERTDIR /etc/ss
l/certs


Note: both OS (Server and Client) are different unix flavor

Same error getting on client (Ubuntu)
Please help me to resolve this issue.

If u need and more info then pls let me know
 
Old 09-21-2011, 06:24 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
sounds like a network issue. or slapd isn't running.
 
1 members found this post helpful.
Old 09-21-2011, 09:25 AM   #3
zackwasa
Member
 
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
Or the firewall is blocking the ldap port, try disabling the firewall to see if it's the one causing the problem

RMI

Last edited by zackwasa; 01-12-2012 at 01:04 AM.
 
1 members found this post helpful.
Old 09-25-2011, 12:19 AM   #4
jitendra bhaskar
LQ Newbie
 
Registered: Apr 2010
Location: Bombay
Distribution: RHEL-5 and CentOS-6
Posts: 23

Original Poster
Rep: Reputation: 0
I checked fire wall and its off so no issue with firewall, But on my ubuntu box slapd is not working i dont know why this happen. but .conf file is there
Thanks for reply Acid_kewpie and Zachwasa
 
  


Reply



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
hi ldap configuration sathiesh Linux - Server 1 06-28-2011 12:42 AM
LDAP configuration error, can't connect to LDAP server (-1) rdanielz Linux - Networking 3 06-01-2010 09:15 AM
Ldap configuration rahilmaknojia Linux - Server 1 07-29-2008 12:33 PM
ldap configuration linuxlastslonge Linux - Software 1 06-17-2005 08:04 AM
ldap configuration ravi_sambaji Linux - Networking 1 06-27-2003 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:17 AM.

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