[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8422) --enable-ldap library linking failure



Full_Name: Jason Trupp
Version: 2.4.44
OS: Ubuntu 12 and 14
URL: 
Submission from: (NULL) (173.173.23.148)


The --enable-ldap option, according to the Admin Guide section 12.3.1 is
required to make chaining work. However, enabling this feature as part of the
configuration does not automatically perform the library linking task,r%r
return an error if the linking were to fail for some reason.

Per Howard Chu, "It worked at some time in the past. It's apparently broken
now..."

Relevant Minutia:

But when chaining via TLS, we get this error:

    572be686 conn=1000 fd=14 ACCEPT from IP=127.0.0.1:41427 (IP=0.0.0.0:389)
    572be686 conn=1000 op=0 EXT oid=1.3.6.1.4.1.1466.20037
    572be686 conn=1000 op=0 STARTTLS
    572be686 conn=1000 op=0 RESULT oid= err=0 text=
    572be687 conn=1000 fd=14 TLS established tls_ssf=256 ssf=256
    572be687 conn=1000 op=1 BIND dn="" method=163
    572be687 conn=1000 op=1 BIND
authcid="email=jtrupp@symas.com,cn=alcoa12,ou=alcoa,o=alcoa
inc,l=riverdale,st=iowa,c=us"
authzid="email=jtrupp@symas.com,cn=alcoa12,ou=alcoa,o=alcoa
inc,l=riverdale,st=iowa,c=us"
    572be687 conn=1000 op=1 BIND
dn="email=jtrupp@symas.com,cn=alcoa12,ou=alcoa,o=alcoa
inc,l=riverdale,st=iowa,c=us" mech=EXTERNAL sasl_ssf=0 ssf=256
    572be687 conn=1000 op=1 RESULT tag=97 err=0 text=
    572be687 conn=1000 op=2 MOD dn="cn=La Valko,ou=Peons,dc=example,dc=com"
    572be687 conn=1000 op=2 MOD attr=description
    /usr/local/libexec/slapd: symbol lookup error:
/usr/local/libexec/openldap/back_ldap-2.4.so.2: undefined symbol:
ldap_modify_ext

A checked against the libraries in use returns the following:

    root@alcoa12:/usr/local/etc/openldap# ldd
/usr/local/libexec/openldap/back_ldap-2.4.so.2
        linux-vdso.so.1 =>  (0x00007fff14b39000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc92c915000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fc92cf17000)

    root@alcoa12:/usr/local/etc/openldap# ldd /usr/local/libexec/slapd
        linux-vdso.so.1 =>  (0x00007fffab493000)
        libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7
(0x00007f18edf63000)
        libdb-5.3.so => /usr/lib/x86_64-linux-gnu/libdb-5.3.so
(0x00007f18edbc1000)
        libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2
(0x00007f18ed9a5000)
        libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0
(0x00007f18ed748000)
        libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(0x00007f18ed36d000)
        libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1
(0x00007f18ed133000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f18ecf16000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f18ecb56000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f18ec951000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f18ec73a000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f18ee187000)