[ntp:hackers] FreeBSD 6.3 hiccup with ntp-dev and LDAP

Danny Mayer mayer at ntp.org
Wed Sep 2 11:45:52 UTC 2009


Dave Hart wrote:
> On Wed, Sep 2, 2009 at 6:45 AM, M. Warner Losh wrote:
>> In message: <85d954180909012332y3a83ec14wf3a6281ac0a2756 at mail.gmail.com>
>> Â  Â  Â  Â  Â  Â Dave Hart <davehart at gmail.com> writes:
>> : On Wed, Sep 2, 2009 at 6:21 AM, M. Warner Losh wrote:
>> :
>> : > What does ldd the ntpd you got this traceback say?
>> :
>> : hart at psp-fb1> ldd /usr/local/src/ntp-dev-4.2.5p208/ntpd/ntpd
>> : /usr/local/src/ntp-dev-4.2.5p208/ntpd/ntpd:
>> : Â  Â  Â  Â  libm.so.4 => /lib/libm.so.4 (0x280e2000)
>> : Â  Â  Â  Â  libcrypto.so.4 => /lib/libcrypto.so.4 (0x280f8000)
>> : Â  Â  Â  Â  libkvm.so.3 => /lib/libkvm.so.3 (0x281eb000)
>> : Â  Â  Â  Â  libmd.so.3 => /lib/libmd.so.3 (0x281f2000)
>> : Â  Â  Â  Â  libc.so.6 => /lib/libc.so.6 (0x28200000)
>> : hart at psp-fb1>
>>
>> and the ldap library? Â What does ldd say on it?
> 
> hart at psp-fb1> ldd /usr/local/lib/nss_ldap.so.1
> /usr/local/lib/nss_ldap.so.1:
>         libldap-2.4.so.6 => /usr/local/lib/libldap-2.4.so.6 (0x28180000)
>         liblber-2.4.so.6 => /usr/local/lib/liblber-2.4.so.6 (0x281b7000)
>         libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x281c3000)
>         libcom_err.so.3 => /usr/lib/libcom_err.so.3 (0x281d8000)
>         libssl.so.4 => /usr/lib/libssl.so.4 (0x281da000)
>         libcrypto.so.4 => /lib/libcrypto.so.4 (0x28208000)
> hart at psp-fb1> ldd /usr/local/lib/libldap-2.4.so.6
> /usr/local/lib/libldap-2.4.so.6:
>         liblber-2.4.so.6 => /usr/local/lib/liblber-2.4.so.6 (0x2819c000)
>         libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x281a8000)
>         libssl.so.4 => /usr/lib/libssl.so.4 (0x281bd000)
>         libcrypto.so.4 => /lib/libcrypto.so.4 (0x281eb000)

Make sure that the versions of OpenSSL used for ldap and ntpd match. I'm
not sure why ldap would even be involved here since it needs to be a DNS
lookup. Check the contents of /etc/hosts since that's listed first.

Danny

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the hackers mailing list