OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: lt-server: could not find auxprop plugin, was searching for 'sql' problem

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Sat May 29 2004 - 11:20:13 CDT


Am Samstag, 29. Mai 2004 17:12 schrieb Jevos, Peter:

> Hello I've this problem a few days
>
> I'm using cyrus-sasl 2.1.18 with this configuration:
> ./configure \
> --enable-anon \
> --enable-plain \
> --enable-login \
> --enable-sql \
> --disable-krb4 \
> --disable-otp \
> --disable-cram \
> --disable-digest \

> --with-mysql=/usr/local/mysql/lib/mysql \

This is wrong, try

--with-mysql=/usr/local/mysql

> --without-pam \
> --without-saslauthd \
> --without-pwcheck \
> --with-dblib=berkeley \
> --with-bdb-libdir=/usr/local/bdb/lib \
> --with-bdb-incdir=/usr/local/bdb/include \
> --with-openssl=/usr/share/ssl \
> --with-plugindir=/usr/local/lib/sasl2

Check config.log after ./configure if mysql was found.

> My /usr/local/lib/sasl2/smtpd.conf looks:
> pwcheck_method: auxprop
> mech_list: PLAIN LOGIN

Why only plain and login?

> auxprop_plugin: sql
> sql_engine: mysql
> sql_hostnames: localhost
> sql_database: mail
> sql_user: root
> sql_passwd: root
> sql_select: SELECT clear FROM postfix_users WHERE email = '%u%r'
>
> When I'm testing sasl functions with a client server utility, I got this
> messages
>
> test lt-server: could not find auxprop plugin, was searching for 'sql'
>
> My /usr/local/lib/sasl2 contains
>
> libanonymous.so.2 liblogin.so.2 libplain.so.2
> libsasldb.so.2 libsql.so.2
> .. libanonymous.so.2.0.18 liblogin.so.2.0.18
> libplain.so.2.0.18 libsasldb.so.2.0.18 libsql.so.2.0.18
> libanonymous.la liblogin.la libplain.la libsasldb.la
> libsql.la sample.conf
> libanonymous.so liblogin.so libplain.so libsasldb.so
> libsql.so smtpd.conf
>
> Of course I used a symbolic link to /usr/lib/sasl2

Show

# ls -l /usr/lib/sasl2/
# cat /usr/lib/sasl2/libsql.la
# ldd /usr/lib/sasl2/libsql.so

Which OS and Postfix-Version do you use?

And Logs of course.

--
        Andreas