directory-fortress mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn McKinney <smckin...@apache.org>
Subject Re: Unit Tests
Date Mon, 08 May 2017 00:38:56 GMT

> On May 7, 2017, at 5:58 PM, Chris Pike <clp207@psu.edu> wrote:
> 
> Ok, I see the entries now, and it looks like they are correct and the policies exist
as well. Is there a global config setting that needs set?

In your slapd.properties you have to set:

ldap.server.type=openldap

and you have to must have these settings either in your slapd.conf our cn=config entry:

#######################################################################
# PW Policy Settings
#######################################################################
# Enable the Password Policy overlay to enforce password policies on this database.
overlay     ppolicy
ppolicy_default "cn=PasswordPolicy,ou=Policies,dc=example,dc=com”
ppolicy_use_lockout
ppolicy_hash_cleartext

actually the default policy isn’t needed to pass the junit tests as it configures per user
pw policies.  But if you expect some sort of global policy to be in effect for you instance
you would want to point it to whatever entry contains your preferred settings.

Shawn
Mime
View raw message