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!