OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: _sasl_plugin_load failed on sasl_auxprop_plug_init

From: Ben Timby (btimbygmail.com)
Date: Tue Apr 10 2007 - 16:48:16 CDT


Gentoo, it is most definitely patched.

--
# strings /usr/lib/libsasl2.so.2 | grep /etc
/etc/sasl2
# strings /usr/lib/libsasl2.so.2 | grep /usr
/usr/lib/sasl2
# ls /usr/lib/sasl2/lib
libanonymous.la libcrammd5.la libdigestmd5.la
liblogin.la libntlm.la libplain.la
libsasldb.la libsql.la
libanonymous.so libcrammd5.so libdigestmd5.so
liblogin.so libntlm.so libplain.so
libsasldb.so libsql.so
libanonymous.so.2 libcrammd5.so.2 libdigestmd5.so.2
liblogin.so.2 libntlm.so.2 libplain.so.2
libsasldb.so.2 libsql.so.2
libanonymous.so.2.0.22 libcrammd5.so.2.0.22 libdigestmd5.so.2.0.22
liblogin.so.2.0.22 libntlm.so.2.0.22 libplain.so.2.0.22
libsasldb.so.2.0.22 libsql.so.2.0.22
--

On 4/10/07, mouss <mlist.onlyfree.fr> wrote:
>
> Ben Timby wrote:
> > I have set up postfix to use sasl via saslauthd. It is working great.
> > I have
> > configured saslauthd to utilize pam which in turn utilizes pam_mysql.so.
> > Everything works. However, this does not prevent me from seeing the
> > following in syslog:
> >
> > --
> > Apr 10 16:44:26 mercury postfix/smtpd[1829]: auxpropfunc error no
> > mechanism
> > available
> > Apr 10 16:44:26 mercury postfix/smtpd[1829]: _sasl_plugin_load failed on
> > sasl_auxprop_plug_init for plugin: sql
> > --
> >
> > /etc/sasl2/smtpd.conf:
> > --
> > pwcheck_method:saslauthd
> > mech_list:PLAIN LOGIN
> > --
> >
> > /etc/pam.d/smtp:
> > --
> > auth sufficient pam_mysql.so user=someuser passwd=somepassword
> > host=localhost db=vmail table=accounts usercolumn=address
> > passwdcolumn=crypt
> > crypt=Y
> > account required pam_mysql.so user=someuser passwd=somepassword
> > host=localhost db=vmail table=accounts usercolumn=address
> > passwdcolumn=crypt
> > crypt=Y
> > --
> >
> > Does anyone know why the auxprop sql plugin would be loading?
> >
>
> possibly because it's in an smtpd.conf that is somewhere on your system.
> you didn't say which OS you are running. only a pacthed sasl would look
> in /etc/sasl2.
>
> what do the following commands return?
> # strings /path/to/libsasl2.so | grep /etc
> # strings /path/to/libsasl2.so | grep /usr
>
>
>