Hallo Laurent, As I remember I had the same problem but under MDK8.2 What I did was using not db4 (db-4.0.14) instead using db3 (db3-3.3.11-6) and making cd /usr/lib ln -s libdb-3.3.so libdb.so
And also using not the latest Ldap Version instead using the latest stable release which is openldap-2.0.25. make ldd from all involved libraries to see which they are using. hth, reg Andreas > Hi all, > > I succesfully compile pam_ldap-140 + nss_ldap-186 with ssl support(I > keep these version because linux debian stable uses these versions and > are other machines that I manage). I've used gcc-3.2 from sunfreeware. > Compiled also openldap 2.0.23 and openssl 0.9.6g without problems. > > Authentication works great. The only problem is that passwd is > segfaulting when I use it: > > bash-2.05$ passwd > passwd: Changing password for user1 > Segmentation Fault > bash-2.05$ > > On my logs: > Oct 10 16:51:58 ldaptest passwd[2032]: [ID 741192 user.error] pam_ldap: > ldap_set_option(LDAP_OPT_X_TLS_REQUIRE_CERT): Unknown error > Oct 10 16:51:58 ldaptest passwd[2032]: [ID 741192 user.error] pam_ldap: > ldap_set_option(LDAP_OPT_X_TLS_REQUIRE_CERT): Unknown error > Oct 10 16:51:58 ldaptest passwd[2032]: [ID 271658 user.error] pam_ldap: > _set_ssl_default_options failed > Oct 10 16:51:58 ldaptest passwd[2032]: [ID 271658 user.error] pam_ldap: > _set_ssl_default_options failed > > I don't know why I've SSL errors. I sure pam_ldap and nss_ldap are > working great in SSL (bescause my ldap servers only works on SSL mode). > > ldd /usr/bin/passwd gives me references to libldap.so.4 which is a > solaris library. > > bash-2.05$ ldd /usr/bin/passwd > ... > libldap.so.4 => /usr/lib/libldap.so.4 > ... > > Does someone know what is the problem and how to solved it? > > > > >
