Hi All,

tried implementing the ppolicy on 2.4.23 version but it is not working. So i tried installing the upgraded version i.e 2.4.39 from source.but getting following error:
Mar  4 12:36:06 juc-dom1-prd slapd[5513]: @(#) $OpenLDAP: slapd 2.4.39 (Mar  4 2014 11:05:59) $#012#011root@juc-dom1-prd.j.cinglevue.com:/tmp/openldap-2.4.39/servers/slapd
Mar  4 12:36:06 juc-dom1-prd slapd[5513]: daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
Mar  4 12:36:06 juc-dom1-prd slapd[5513]: lt_dlopenext failed: (back_bdb.la) file not found
Mar  4 12:36:06 juc-dom1-prd slapd[5513]: slapd stopped.
Mar  4 12:36:06 juc-dom1-prd slapd[5513]: connections_destroy: nothing to destroy.

Previously was getting error:
Unrecognized database type (bdb) in openldap 2.4.39

In order to fix this i added below line in slapd.conf file:
moduleload back_bdb.la

Please help as implementing open ldap is getting crazy now.

regards
Sam