This is a discussion on Re: SASL libraries not taken in account when compiling on AIX within the mailing.postfix.users forums, part of the Mail Servers and Related category; Am Donnerstag, 16. September 2004 17:07 schrieb Jerome Walter: > > > > Check, which Mechanisms do you have ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Am Donnerstag, 16. September 2004 17:07 schrieb Jerome Walter:
> > > > Check, which Mechanisms do you have installed in /usr/lib/sasl2. > > > > > > root@mail:/home/walter# ls /usr/lib/sasl2 > > > deactivated libcrammd5.la liblogin.la libplain.la > > > libanonymous.a libdigestmd5.a libotp.a libsasldb.a > > > libanonymous.la libdigestmd5.la libotp.la libsasldb.la > > > libcrammd5.a liblogin.a libplain.a smtpd.conf > > > > The la-Files are Textfiles, show one of them, please. > > What says: > > cat libplain.la > # libplain.la - a libtool library file > # Generated by ltmain.sh - GNU libtool 1.3.5 (1.385.2.206 2000/05/27 > # 11:12:27) > # > # Please DO NOT delete this file! > # It is necessary for linking the library. > > # The name that we can dlopen(3). > dlname='' Cyrus-SASL has one Lib, which is normally linked against the Application. This is libsasl2.* (In your case it is in Postfix). The other Libs are loaded at runtime. libsasl2 scans the Plugin-Directory (/usr/lib/sasl2) for the *.la Files. In each File is a reference for the Library. This is the dlname-Option. In your case it is empty, so sasl cannot load this Lib (and others, too. I think.). Cyrus-SASL logs it to Postfix, but it is dropped. > # Names of this library. > library_names='' > > # The name of the static archive. > old_library='libplain.a' > > # Libraries that this one depends upon. > dependency_libs=' -L/usr/local/openssl-0.9.7/lib' > > # Version information for libplain. > current=2 > age=0 > revision=19 > > # Is this an already installed library? > installed=yes > > # Directory that this library needs to be installed in: > libdir='/usr/lib/sasl2' > > > # file libplain.a > > I know it by heart: archive (big format) Everything in your Cyrus-SASL seems to be static. You should rebuild it. And next time dynamically ;-) > > > postconf -n | grep smtpd_sasl > > > smtpd_sasl_application_name = smtpd > > > smtpd_sasl_auth_enable = no > > > smtpd_sasl_local_domain = $mydomain > > > > Check it please with: > > # postconf smtpd_sasl_security_options > > postconf smtpd_sasl_security_options > smtpd_sasl_security_options = noanonymous This is ok. > > > > I hope, it comes clear with the static libsasl. Or maybe the > > > > mechanisms are included, too? (horror) > > > > > > I fear. This AIX is definitively alive and trying to get me mad ;) > > > > > > is there a way to check ? Some labels that would appear from sasl being > > > present in smtpd ? > > > > Yes a function "plain_server_mech_new" is only in the plain-plugin. If > > this is in your Postfix... > > Not found. There is a external_server_mech_new, i hope this is ok ;) "external" (for the ssl/tls mechanism) is included in libsasl. plain is an external plugin, which is loaded at runtime. -- Andreas |