A page in your DokuWiki was added or changed. Here are the details:

Date        : 2010/06/24 11:43
Browser     : Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.1 
(KHTML, like Gecko) Chrome/6.0.427.0 Safari/534.1
IP-Address  : 109.197.182.5
Hostname    : mail.aliasource.fr
Old Revision: none
New Revision: 
http://ltb-project.org/wiki/documentation/openldap-ppolicy-check-password-debian
Edit Summary: created
User        : ronanl

====== Compile check_password.so from LTB projet on Lenny ======

===== Presentation =====

see original web site: 
[[http://ltb-project.org/wiki/documentation/openldap-ppolicy-check-password|Here]]

In this page we show howto compile it on debian Lenny with distribution package 

:!: Becareful they are lot of bug in 2.4.11 OpenLDAP version, use it at your 
own risk

===== Debian Installation =====

This documentation apply on Lenny 32 bits only and compile the module less 
cracklib dictionary.

===== Package prerequisite =====

Install the following package

   aptitude install gcc libldap2-dev dpkg-dev cracklib-dev libdb4.6-dev

Verify path for src package

   vi /etc/apt/sources.list
   ... ...
   deb-src http://security.debian.org/debian-security lenny/updates main 
contrib non-free
   ... ...

get source of slapd package

   cd /root
   apt-get update
   apt-get source slapd


===== Opendlap compilation prerequisite =====

To compile the check_password module we need of some header file that aren't 
exist into the source tree, but create on **configure and make step**

<code>
cd /root/openldap-2.4.11
./configure
make
</code>

===== Compile check_password module =====

Get module 

   wget 
http://tools.ltb-project.org/attachments/download/51/ltb-project-openldap-ppolicy-check-password-1.1.tar.gz
   tar -xvzf ltb-project-openldap-ppolicy-check-password-1.1.tar.gz
   cd ltb-project-openldap-ppolicy-check-password-1.1.tar.gz

Compile it

   make CONFIG="/etc/ldap/check_password.conf" 
LDAP_INC="-I/root/openldap-2.4.11/include/ 
-I/root/openldap-2.4.11/servers/slapd"


-- 
This mail was generated by DokuWiki at
http://ltb-project.org/wiki/

_______________________________________________
ltb-changes mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-changes

Reply via email to