[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Overlay ppolicy not found



Am Thu, 30 Jan 2014 10:25:53 +0000
schrieb Rodrigo Coutinho <Rodrigo.Coutinho@ifap.pt>:

> Hi,
>  
> I'm new to LDAP and have searched your site and others, but have found
> nothing.
>  
> I've installed OpenLdap 2.4.35 on a Red Hat Linux 5.9, following the
> instructions on this site.
>  
> I've migrated the users and groups from the production database
> (Oracle).
>  
> Now, I would like to set Password policies  and have altered the
> slapd.conf accordingly.
>  
>  
> #
> # See slapd.conf(5) for details on configuration options.
> # This file should NOT be world readable.
> #
> include  /usr/local/etc/openldap/schema/ppolicy.schema
> 
>  
> # Load dynamic backend modules:
> modulepath      /usr/local/libexec/openldap
> # moduleload    back_bdb.la
> # moduleload    back_hdb.la
> # moduleload    back_ldap.la
> moduleload ppolicy.la
> 
>  
> #######################################################################
> # BDB database definitions
> #######################################################################
> overlay         ppolicy
> ppolicy_default "cn=default,ou=pwpolicies,ou=config,dc=ifap,dc=local"
> 
>  
> However, when I execute slapd, I get the following error message:  
>  
> 52ea27a8 @(#) $OpenLDAP: slapd 2.4.35 (Oct 21 2013 16:37:56) $
>         root@abc00102:/u01/ldap/openldap-2.4.35/servers/slapd
> 52ea27a8 overlay "ppolicy" not found
> 52ea27a8 slapd stopped.
> 52ea27a8 connections_destroy: nothing to destroy.
[...]

run slapd -VVV in order to verify that ppolicy is not built in, you
should get something like:

./slapd -VVV
@(#) $OpenLDAP: slapd 2.4.38 $
	opensuse-buildservice@opensuse.org

Included static overlays:
    ppolicy
    syncprov
Included static backends:
    config
    ldif
    monitor
    bdb
    hdb
    ldap
    mdb
    relay


-Dieter

-- 
Dieter KlÃnter | Systemberatung
http://dkluenter.de
GPG Key ID: E9ED159B
53Â37'09,95"N
10Â08'02,42"E