> I'm having some trouble trying to setup smbk5pwd. I am currently running
> CentOS 5 with the latest updates. OpenLDAP is version
> openldap-2.3.27-8.el5_1.3, I have it installed via RPM.
>
> To try to compile, I downloaded & installed the source rpm. That included a
> tgz file of the openldap's source. I extracted it
You should rather use rpm to compile the software, rather than using *partial*
>
> >From there, I ran make and got this error:
>
> *../../../include/ldap_defaults.h:35:25: error: ldap_config.h: No such file
> or directory*
>
> There was a ldap_config.hin file in that same directory, I renamed it
> ldap_config.h and was able to run make successfully.
>
> Did the following:
>
> *mkdir /usr/lib/ldap
> cp
smbk5pwd.la /usr/lib/ldap
> cd .libs
> cp -r smbk5pwd.so* /usr/lib/ldap*
>
> Added it to my slapd.conf file:
>
> *moduleload /usr/lib/ldap/smbk5pwd.o
> overlay smbk5pwd*
>
> When I try to restart openldap, I get a segfault. If I comment out the
> "overlay..." line, it will start and work fine. The startup log looks fine
> until the segfault line:
> *
> slapd startup: initiated.
> /bin/bash: line 1: 27591 Segmentation fault /tmp/start-slapd.n27586*
>
> If anyone has any suggestions, that would great...thanks!
You could save yourself a whole lot of time and use: