OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Piotr Klaban (maklerman.torun.pl)
Date: Thu Apr 26 2001 - 04:14:03 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Tue, Apr 24, 2001 at 05:03:13PM -0700, Derek Douville wrote:
    > Apr 24 16:51:56 mamba postfix/smtpd[23818]: [ID 793829 auth.error]
      unable to dlopen /usr/local/lib/sasl/libdigestmd5.so: ld.so.1: smtpd:
      fatal: relocation error: file /usr/local/lib/sasl/libdigestmd5.so:
      symbol des_ecb_encrypt: referenced symbol not found

    In order to use MD5 you need some libraries with rc4. I used openSSL
    This symbol (des_ecb_encrypt) is in /usr/local/ssl/lib/libcrypto.a
    You need to link to similar library, or avoid compiling SASL with MD5.

    > Apr 24 16:51:56 mamba postfix/smtpd[23818]: [ID 362429 auth.error]
      unable to dlopen /usr/local/lib/sasl/libgssapiv2.so: ld.so.1: smtpd:
      fatal: relocation error: file /usr/local/lib/sasl/libgssapiv2.so: symbol
      GSS_C_NT_HOSTBASED_SERVICE: referenced symbol not found

    This symbol is defined in /usr/lib/libgss.so, you need to link this
    library into postfix (-lgss) or avoid using GSS in cyrus-sasl
    (--disable-gssapi configuration option).

    > What is a "relocation error"?
    This mean that in the sasl library there is a undefined symbol:

      % nm /usr/local/lib/sasl/libdigestmd5.so | grep des_ecb_encrypt

    [139] | 0| 0|FUNC |GLOB |0 |UNDEF |des_ecb_encrypt

    while this symbol is in the other library:

      % nm /usr/local/ssl/lib/libcrypto.a | grep des_ecb_encrypt

    [13] | 92| 188|FUNC |GLOB |0 |2 |des_ecb_encrypt

    > Also, am I *required* to have SASL authentication enabled in order to
    > be able to hook LDAP into the works?

    I do not use LDAP, and any netscape library. There would be more errors
    like that. Use 'nm' command and look for right libraries on your disk.

    -- 
    Piotr Klaban
    

    - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users