[Pkg-openldap-devel] Debian Etch (stable) - slapd 2.3.30-5+etch1 - ppolicy feature problem

Slawomir Stanczak sws at sci.pam.szczecin.pl
Thu Apr 24 17:56:43 UTC 2008


Hello,

I have a big problem with slapd 2.3.30-5+etch1 under Debian Etch.

slapd works very good. I would to add ppolicy feature, but it
don't work at all:

sec:~#  cat /etc/ldap/slapd.conf:

[...]
include         /etc/ldap/schema/ppolicy.schema

sec:~# slapcat

[...]
dn: ou=policy,dc=pam,dc=szczecin,dc=pl
ou: policy
objectClass: top
objectClass: organizationalUnit
description: PAM Policy
structuralObjectClass: organizationalUnit
[...]
dn: cn=standard,ou=policy,dc=pam,dc=szczecin,dc=pl
objectClass: device
objectClass: pwdPolicy
cn: standard
pwdAttribute: 2.5.4.35
pwdMinLength: 8
pwdInHistory: 1
pwdMaxAge: 0
pwdMinAge: 0
pwdLockout: TRUE
pwdMaxFailure: 10
structuralObjectClass: device

==============

When I add in /etc/ldap/slapd.conf file following:

overlay ppolicy
ppolicy_default "cn=standard,ou=policy,dc=pam,dc=szczecin,dc=pl"

slapd don't start
-----------------

sec:~# /etc/init.d/slapd start
Starting OpenLDAP: slapd - failed.
[...]


When I try running the daemon in debug mode I get info:

line 96 (overlay ppolicy)
overlay "ppolicy" not found
---------------------------
/etc/ldap/slapd.conf: line 96: <overlay> handler exited with 1!
slapd stopped.

slapd 2.3.30-5+etch1 isn't compiled with --enable-overlays ?

How can I use ppolicy feature under Debian Etch ?

Can you help me ?

Thank you for all info about it.

Best regards
-- 
Sławomir Stańczak
email: sws[AT]ams.edu.pl
tel. +48 91 4800 797



More information about the Pkg-openldap-devel mailing list