Hi List, I'm currently setting up an openldap server and included the following lines in my slapd.conf : modulepath /usr/lib/ldap moduleload back_hdb after finishing up my config and i run slaptest on it i get an error saying that the modulepath doesn't exist. I checked and it indeed isn't there , in fact i can find it anywhere on my system (centos 5.7). the packages i've installed through yum are openldap openldap-servers and openldap-client. does anyone know where to find this folder? or do i have to install some package to get this module? Thanks, Wessel
Wessel, wessel van der aart wrote:> > I'm currently setting up an openldap server and included the following > lines in my slapd.conf : > modulepath /usr/lib/ldap > moduleload back_hdb > after finishing up my config and i run slaptest on it i get an error > saying that the modulepath doesn't exist.<snip> I have no idea if this is related - we're not using ldap, so I can't check, but have a look at <http://www.openldap.org/lists/openldap-technical/201104/msg00105.html> mark
> Hi List, > > I'm currently setting up an openldap server and included the following > lines in my slapd.conf : > modulepath /usr/lib/ldap > moduleload back_hdb > after finishing up my config and i run slaptest on it i get an error > saying that the modulepath doesn't exist.Do you run an 64bit system? check if there is a /usr/lib64/...> I checked and it indeed isn't there , in fact i can find it anywhere on my > system (centos 5.7). > the packages i've installed through yum are openldap openldap-servers and > openldap-client. > does anyone know where to find this folder? or do i have to install some > package to get this module? > > Thanks, > Wessel > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- L. de Braal BraHa Systems NL - Terneuzen T +31 115 649333 F +31 115 649444
Am 26.10.2011 19:11, schrieb wessel van der aart:> Hi List, > > I'm currently setting up an openldap server and included the following > lines in my slapd.conf : > modulepath /usr/lib/ldap > moduleload back_hdb > after finishing up my config and i run slaptest on it i get an error > saying that the modulepath doesn't exist. > I checked and it indeed isn't there , in fact i can find it anywhere on my > system (centos 5.7). > the packages i've installed through yum are openldap openldap-servers and > openldap-client. > does anyone know where to find this folder? or do i have to install some > package to get this module? > > Thanks, > WesselHi, I assume you are following a random tutorial on the net. Don't do that. It simply does not fit. Instead of using a modulepath just (the proper one on CentOS would be /usr/lib/openldap, as pre-defined in slapd.conf; but the backends are not available as modules on CentOS), define you database properly. Where you see database bdb in the slapd.conf CentOS ships with, just change bdb into hdb. Alexander
From: wessel van der aart <wessel at postoffice.nl>> I'm currently setting up an openldap server and included the following > lines in my slapd.conf : > modulepath /usr/lib/ldap > moduleload back_hdb > after finishing up my config and i run slaptest on it i get an error > saying that the modulepath doesn't exist. > I checked and it indeed isn't there , in fact i can find it anywhere on my > system (centos 5.7). > the packages i've installed through yum are openldap openldap-servers and > openldap-client. > does anyone know where to find this folder? or do i have to install some > package to get this module?Never setup ldap but in the conf file they mention: # Modules available in openldap-servers-overlays RPM package This package contains many modules in /usr/lib/openldap; although not the one you want... JD