LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 07-31-2009, 01:51 AM   #1
donanap
Member
 
Registered: Sep 2008
Location: Perth, Australia
Distribution: RedHat, Solaris
Posts: 38

Rep: Reputation: 15
Unhappy LDAP config, no bdb option RHEL4


Hi,

Any help with the following would be greatly appreciated!

I have 2 servers - one is the LDAP server & one LDAP client.
I changed all the config files below(to the best of my knowledge!)
/etc/ldap.conf
/etc/nsswitch.conf
/etc/openldap/slapd.conf
/etc/openldap/ldap.conf
and I run authconfig.

I have triple checked the files for spelling errors etc.
When I type service ldap start I get a 'failed' response. The server is running bdb database so I thought perhaps the problem was that I had selected ldbm on the client. So I changed the database to bdb on the client to match the ldap host/server. When I tried to run the service again it says bdb not a recognised database type.

I did notice that in my config file the commented out section does not

Code:
#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "dc=my-domain,dc=com"
#suffix         "o=My Organization Name,c=US"
rootdn          "cn=Manager,dc=my-domain,dc=com"
#rootdn         "cn=Manager,o=My Organization Name,c=US"
Where as my other server's config file mentions the bdb database too:


Code:
#######################################################################
# ldbm and/or bdb database definitions
#######################################################################

database        bdb
suffix          "dc=my-domain,dc=com"
rootdn          "cn=Manager,dc=my-domain,dc=com"
They are both Version 3 or so it says on the ldap.conf file.
Any help on this would be greatly appreciated. I'm Stuck!
 
Old 07-31-2009, 03:18 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Dear
Can you send output of starting slapd in debug level 64.
#slpad -d 64

thanks
 
Old 07-31-2009, 03:25 AM   #3
donanap
Member
 
Registered: Sep 2008
Location: Perth, Australia
Distribution: RedHat, Solaris
Posts: 38

Original Poster
Rep: Reputation: 15
Good Idea!

Hi Vishesh,

Thanks for your response. This of course would be a smart thing to do. :-)
I wont be able to do this until Saturday as the server is in production. They want me to swap the current (live quest/NIS) logons with LDAP configuration with no downtime... I believe by changing all the config files and starting the daemon they will all be kicked off the server.

I will post my results as soon as I have done this though.
Thanks,
Donanap
 
  


Reply

Tags
ldap, rhel4


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
[SOLVED] Rhel4 : Ldap copro Red Hat 4 06-22-2009 03:12 AM
Setting up LDAP on RHEL4 with Webmin - slapd will not start. AoiShikaku Red Hat 7 12-15-2008 02:31 AM
Need help with BIND config on RHEL4 nogden Linux - Server 7 11-15-2007 04:29 PM
LDAP authentication from RHEL4 to AD acid_kewpie Linux - Enterprise 0 06-08-2006 11:10 AM
Need Help, LDAP + BDB issue wslyhbb Linux - Software 7 04-25-2006 09:23 PM


All times are GMT -5. The time now is 04:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration