Re: openldap missing modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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,
> Wessel

Hi,

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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux