On Saturday 06 May 2006 17:11, Israel Garcia wrote:
> well, I'm working with Buchan openldap rpm's for RHEL4, and everything
> is fine, BUT, when I uncoment any of this entries of
> /etc/openldap2.3/slapd.conf:
>
> # overlay modules available:
> #moduleload accesslog.la
> #moduleload denyop.la
> #moduleload dyngroup.la
> #moduleload dynlist.la
> #moduleload glue.la
> #moduleload lastmod.la
> #moduleload pcache.la
> #moduleload ppolicy.la
> #moduleload refint.la
> #moduleload retcode.la
> #moduleload rwm.la
> #moduleload syncprov.la
> #moduleload translucent.la
> #moduleload unique.la
>
> I get this error:
>
> [root@ldap openldap2.3]# /etc/init.d/ldap2.3 restart
> Checking config file /etc/openldap2.3/slapd.conf: [FAILED]
> lt_dlopenext failed: (ppolicy.la) file not found
> slaptest2.3: bad configuration file!
$ rpm -qf /usr/lib/openldap2.3/ppolicy.la
openldap2.3-servers-2.3.20-1.rhel4es
Most likely your modulepath is wrong:
# grep modulepath /etc/openldap2.3/slapd.conf
modulepath /usr/lib/openldap2.3
> If I want to use ppolicy feature I have to install another package?
> How can I implement this feature (slapo-ppolicy) in openldap2.3?
'rpm -ql openldap2.3-servers' would probably help?
Regards,
Buchan
--
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)