Hi Quanah,

In my slapd.conf is:

include         /etc/ldap/schema/ppolicy.schema
#loadmodule ppolicy.la
loadmodule  ppolicy.so
overlay ppolicy

Se the logs:

n 16 16:48:07 defensoria slapd[15253]: @(#) $OpenLDAP: slapd 2.4.23 (Jun 16 2011 02:53:39) $#012#011buildd@murphy:/build/buildd-openldap_2.4.23-7.2-i386-Y1mwvF/openldap-2.4.23/debian/build/servers/slapd
Jan 16 16:48:07 defensoria slapd[15253]: /etc/ldap/slapd.conf: line 62: unknown directive <loadmodule> inside backend database definition.
Jan 16 16:48:07 defensoria slapd[15253]: slapd stopped.
Jan 16 16:48:07 defensoria slapd[15253]: connections_destroy: nothing to destroy.

In line 62, have "loadmodule ppolicy.la".I try other module, but is give error.

Is there some error of syntax ?

Thanks !

Rodrigo Faria




De: Quanah Gibson-Mount <quanah@zimbra.com>
Para: rodrigo tavares <rodrigofariat@yahoo.com.br>; openldap-technical@openldap.org
Enviadas: Quarta-feira, 16 de Janeiro de 2013 16:27
Assunto: Re: Using policy overlay

--On Wednesday, January 16, 2013 10:09 AM -0800 rodrigo tavares
<rodrigofariat@yahoo.com.br> wrote:

>
>
> Hello !
>
>
> I´m with troubles, in trying to load policy overlay,it is
> /usr/lib/ldap/ppolicy.so.
> Then I put overlay ppolicy in slapd.conf. So, restart  openldap. But is
> com error:
>

You need to moduleload it first.

--Quanah


--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration