LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (http://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   LDAP config, no bdb option RHEL4 (http://www.linuxquestions.org/questions/linux-enterprise-47/ldap-config-no-bdb-option-rhel4-744065/)

donanap 07-31-2009 01:51 AM

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!

vishesh 07-31-2009 03:18 AM

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

thanks

donanap 07-31-2009 03:25 AM

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


All times are GMT -5. The time now is 12:40 PM.