Hmm, module loaded.  I'm not doing a moduleload of anything ppolicy related, simply setting the overlay ppolicy, the ppolicy_default, and ppolicy_use_lockout.  What's the module to load as I don't find a ppolicy la file after compiling?  Can you point me to a doc that explains the proper way to use this now?

On Mon, Jan 3, 2022, 10:41 AM Quanah Gibson-Mount <quanah@symas.com> wrote:


--On Monday, January 3, 2022 9:39 AM -0600 kevin martin <ktmdms@gmail.com>
wrote:

>
> In 2.4 I was still pulling in the schema.  In 2.5 ppolicy is compiled as
> part of the code.  Assuming it just works, how does one go about setting
> pwdAccountLockedTime for a user then?  I can't add it as an attribute of
> the user so I'm not sure how it can be set.

If it has been moduleloaded into the slapd process, the ppolicy schema is
known to slapd and available for use.  If you are finding the attribute to
not be defined it would suggest you've failed to load the module as
required.  I would note that you want to ensure you're running 2.5.8 or
later (See ITS#9671).

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>