[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: pwcheck module for slapo-ppolicy
- To: Lukas Grässlin <lukas.graesslin@collax.com>
- Subject: Re: pwcheck module for slapo-ppolicy
- From: Clément OUDOT <clem.oudot@gmail.com>
- Date: Thu, 29 Sep 2011 10:17:30 +0200
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=i1AjKdZ4z9JK486bahxboeWAA/1UXOaIaHTRpgoH9sk=; b=dx4gjJeoa2XsNE/jplxhHH0u8lZG+uAzOVVNM+UltPR6gRIjqBW7/I0wKCca0ulJVN tWO1ifMEXPGQI6tq/nTeynoVZcWuo0lG+1MUPB2eK7zDWlMJpwRq0qU/ZMIb6eCPJ33D WCs+qddk3jOJF/sZPhpCX1CXYmCnKO7XqUrFQ=
- In-reply-to: <4E819898.1080506@collax.com>
- References: <4E819898.1080506@collax.com>
2011/9/27 Lukas Grässlin <lukas.graesslin@collax.com>:
> Hi there,
>
> I wrote a new pwcheck module for the slapo-ppolicy overlay which is able to
> handle multiple different policies.
>
> My problem was:
>
> I have multiple password policies which are applied to different users.
> The policies differ in strength etc. The problem was that with the only
> pwcheck modul you can find on the net
> (https://ltb-project.org/svn/openldap-ppolicy-check-password/trunk/) you
> just define one 'policy-thing' which will be checked if check-password.so is
> run.
>
> I wanted to have something were you also can define multiple policies which
> also can differ, so I wrote my own module which reads two config files:
>
> $CONFDIR/ppolicies:
> There are the policies defined. Example:
>
> [Default]
> min_len = 8
> min_digit = 1
> min_lower = 1
> min_special = 1
> min_upper = 1
>
> $CONFDIR/users:
> These file holds the relation between users and policies:
>
> uid=lukas,ou=People,dc=example,dc=com : Default
>
> Well, it would have been nicer if that policy definition & co would also be
> stored in ldap, but the config-file-way was the faster one as it had to be
> finished quick.
>
> Whatever, maybe some of you could need this or improve it:
>
> http://dl.dropbox.com/u/32193848/pwcheck.tar.bz2
>
> You have to build it within ldap (like the old one). So put it there:
> $ldapsrcdir/contrib/slapd-modules
Hello Lukas,
nice improvement. I saw you rewrite all the thing, was there no
possibility to patch the LTB module? I would be happy if you
contribute it on the LDAP Tool Box project.
Clément.