Skip to content

merces/check-password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check-password

check-password is an example ppolicy module used to enforce strong password checks in OpenLDAP

Compiling

  1. Download the appropriate source code package for your system from the OpenLDAP website.

  2. Extract it on the target machine and use OpenLDAP’s Makefile to generate the required headers:

tar xf openldap-*.tgz
cd opendalp*
make depend
  1. Now enter the check-password module directory and run make, passing the OpenLDAP source code path through the LDAP_SRC variable. For example:
LDAP_SRC=/home/myuser/openldap-2.4.40 make

You may also want to configure the module destination path and the configuration file path together with the make invocation:

DEST=/usr/lib/ldap/modules CONF_FILE_PATH=/etc/ldap/check_password.conf LDAP_SRC=/home/myuser/openldap-2.4.40 make

Installing

make install

Configuring

  1. Configure basic options in the config file specified by the CONF_FILE_PATH variable.
  2. Set the pwdCheckQuality attribute in ppolicy to either 1 or 2.
  3. Set the pwdCheckModule attribute to the path of the module file (.so).

About

OpenLDAP ppolicy module for password-strength checks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published