No SQL module found

Jorge Bastos mysql.jorge at decimal.pt
Thu Oct 25 15:48:43 EDT 2007


Check below, what it says in the end that he cannot auth that's not completely true, because I can via sasldb.


---
lira:~# saslfinger -c
saslfinger - postfix Cyrus sasl configuration Thu Oct 25 20:47:26 WEST 2007
version: 1.0.2
mode: client-side SMTP AUTH

-- basics --
Postfix: 2.4.6
System: Debian GNU/Linux lenny/sid \n \l

-- smtp is linked to --
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7ce1000)

-- active SMTP AUTH and TLS parameters for smtp --
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache


-- listing of /usr/lib/sasl2 --
total 786
drwxr-xr-x  2 root root  1424 2007-10-24 13:47 .
drwxr-xr-x 52 root root 17728 2007-10-25 10:09 ..
-rw-r--r--  1 root root 13312 2007-10-20 21:11 libanonymous.a
-rw-r--r--  1 root root   855 2007-10-20 21:11 libanonymous.la
-rw-r--r--  1 root root 12824 2007-10-20 21:11 libanonymous.so
-rw-r--r--  1 root root 12824 2007-10-20 21:11 libanonymous.so.2
-rw-r--r--  1 root root 12824 2007-10-20 21:11 libanonymous.so.2.0.22
-rw-r--r--  1 root root 15482 2007-10-20 21:11 libcrammd5.a
-rw-r--r--  1 root root   841 2007-10-20 21:11 libcrammd5.la
-rw-r--r--  1 root root 15000 2007-10-20 21:11 libcrammd5.so
-rw-r--r--  1 root root 15000 2007-10-20 21:11 libcrammd5.so.2
-rw-r--r--  1 root root 15000 2007-10-20 21:11 libcrammd5.so.2.0.22
-rw-r--r--  1 root root 45092 2007-10-20 21:11 libdigestmd5.a
-rw-r--r--  1 root root   864 2007-10-20 21:11 libdigestmd5.la
-rw-r--r--  1 root root 41932 2007-10-20 21:11 libdigestmd5.so
-rw-r--r--  1 root root 41932 2007-10-20 21:11 libdigestmd5.so.2
-rw-r--r--  1 root root 41932 2007-10-20 21:11 libdigestmd5.so.2.0.22
-rw-r--r--  1 root root 13462 2007-10-20 21:11 liblogin.a
-rw-r--r--  1 root root   835 2007-10-20 21:11 liblogin.la
-rw-r--r--  1 root root 13300 2007-10-20 21:11 liblogin.so
-rw-r--r--  1 root root 13300 2007-10-20 21:11 liblogin.so.2
-rw-r--r--  1 root root 13300 2007-10-20 21:11 liblogin.so.2.0.22
-rw-r--r--  1 root root 28820 2007-10-20 21:11 libntlm.a
-rw-r--r--  1 root root   829 2007-10-20 21:11 libntlm.la
-rw-r--r--  1 root root 28276 2007-10-20 21:11 libntlm.so
-rw-r--r--  1 root root 28276 2007-10-20 21:11 libntlm.so.2
-rw-r--r--  1 root root 28276 2007-10-20 21:11 libntlm.so.2.0.22
-rw-r--r--  1 root root 13686 2007-10-20 21:11 libplain.a
-rw-r--r--  1 root root   835 2007-10-20 21:11 libplain.la
-rw-r--r--  1 root root 13460 2007-10-20 21:11 libplain.so
-rw-r--r--  1 root root 13460 2007-10-20 21:11 libplain.so.2
-rw-r--r--  1 root root 13460 2007-10-20 21:11 libplain.so.2.0.22
-rw-r--r--  1 root root 21594 2007-10-20 21:11 libsasldb.a
-rw-r--r--  1 root root   856 2007-10-20 21:11 libsasldb.la
-rw-r--r--  1 root root 18028 2007-10-20 21:11 libsasldb.so
-rw-r--r--  1 root root 18028 2007-10-20 21:11 libsasldb.so.2
-rw-r--r--  1 root root 18028 2007-10-20 21:11 libsasldb.so.2.0.22
-rw-r--r--  1 root root 23456 2007-10-20 21:11 libsql.a
-rw-r--r--  1 root root   964 2007-10-20 21:11 libsql.la
-rw-r--r--  1 root root 22996 2007-10-20 21:11 libsql.so
-rw-r--r--  1 root root 22996 2007-10-20 21:11 libsql.so.2
-rw-r--r--  1 root root 22996 2007-10-20 21:11 libsql.so.2.0.22
-rw-r--r--  1 root root   330 2007-08-25 13:55 smtpd.conf

-- listing of /etc/postfix/sasl --
total 13
drwxr-xr-x 2 root root 160 2007-10-23 23:07 .
drwxr-xr-x 3 root root 688 2007-10-24 13:54 ..
-rw-r--r-- 1 root root 117 2005-11-20 20:02 como_criar_certificado_ssl
-rw-r--r-- 1 root root 381 2007-10-23 23:07 smtpd.conf
-rw-r--r-- 1 root root 349 2007-08-25 19:43 smtpd.conf_ori


Cannot find the smtp_sasl_password_maps parameter in main.cf.
Client-side SMTP AUTH cannot work without this parameter!
---




-----Original Message-----
From: cyrus-sasl-bounces at lists.andrew.cmu.edu [mailto:cyrus-sasl-bounces at lists.andrew.cmu.edu] On Behalf Of Patrick Ben Koetter
Sent: quarta-feira, 24 de Outubro de 2007 11:00
To: cyrus-sasl at lists.andrew.cmu.edu
Subject: Re: No SQL module found

* Jorge Bastos <mysql.jorge at decimal.pt>:
> There's one problem, the saslfinger looks for smtpd.conf in:
> 
> /usr/lib/sasl2/smtpd.conf
> 
> And the debian place is:
> 
> /etc/postfix/sasl/smtpd.conf
> 
> 
> And this is the saslfinger that cames with debian packages, what should I do?

Add the path to $sasl_dirs in the script:

sasl_dirs=(/usr/lib/sasl \
/usr/lib64/sasl2 \
/var/lib/sasl \
/opt/lib/sasl \
/usr/lib/sasl2 \
/var/lib/sasl2 \
/opt/lib/sasl2 \
/usr/local/lib/sasl2 \
/etc/sasl2 \
/etc/cyrus-sasl \
/etc/postfix/sasl \
/usr/pkg/lib)

or download this version and run it:

<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/saslfinger-1.0.3.tar.gz>

p at rick



> 
> 
> 
> -----Original Message-----
> From: cyrus-sasl-bounces at lists.andrew.cmu.edu [mailto:cyrus-sasl-bounces at lists.andrew.cmu.edu] On Behalf Of Patrick Ben Koetter
> Sent: quarta-feira, 24 de Outubro de 2007 7:20
> To: cyrus-sasl at lists.andrew.cmu.edu
> Subject: Re: No SQL module found
> 
> * Jorge Bastos <mysql.jorge at decimal.pt>:
> > I've do it, and i still can't auth, postfix says:
> > 
> > Oct 23 23:04:23 lira postfix/smtpd[10999]: SASL authentication debug: could
> > not find auxprop plugin, was searching for 'sql'
> 
> Output from "saslfinger -s" please.
> See my signature for saslfinger.
> 
> > 
> > With:
> > smtp      inet  n       -        n       -       -       smtpd
> > 
> > -----Original Message-----
> > From: cyrus-sasl-bounces at lists.andrew.cmu.edu [mailto:cyrus-sasl-bounces at lists.andrew.cmu.edu] On Behalf Of Jorge Bastos
> > Sent: tera-feira, 23 de Outubro de 2007 16:04
> > To: cyrus-sasl at lists.andrew.cmu.edu
> > Subject: RE: No SQL module found
> > 
> > Cool,
> > Gonna test it tonight.
> > 
> > 
> > 
> > -----Original Message-----
> > From: cyrus-sasl-bounces at lists.andrew.cmu.edu [mailto:cyrus-sasl-bounces at lists.andrew.cmu.edu] On Behalf Of Florian Lindner
> > Sent: tera-feira, 23 de Outubro de 2007 13:27
> > To: cyrus-sasl at lists.andrew.cmu.edu
> > Subject: Re: No SQL module found
> > 
> > Am Montag, 22. Oktober 2007 schrieb Jorge Bastos:
> > > Can you give me a detailed explanation on what you did?
> > 
> > After all I just changed the line in master.cf from:
> > 
> > smtp      inet  n       -        -       -       -       smtpd
> > 
> > to:
> > 
> > smtp      inet  n       -        n       -       -       smtpd
> > 
> > which makes smtpd run not chrooted. That was all.
> > 
> > Regards,
> > 
> > Florian
> > 
> > 
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: cyrus-sasl-bounces at lists.andrew.cmu.edu
> > > [mailto:cyrus-sasl-bounces at lists.andrew.cmu.edu] On Behalf Of Florian
> > > Lindner Sent: segunda-feira, 22 de Outubro de 2007 21:44
> > > To: cyrus-sasl at lists.andrew.cmu.edu
> > > Subject: Re: No SQL module found
> > >
> > > It works now. The first problem was that smtpd was chrooted the second one
> > > was a misconfiguration at my MUA.
> > >
> > > Thanks fr your help!
> > >
> > > Florian
> > 
> > 
> 
> -- 
> The Book of Postfix
> <http://www.postfix-book.com>
> saslfinger (debugging SMTP AUTH):
> <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
> 

-- 
The Book of Postfix
<http://www.postfix-book.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>



More information about the Cyrus-sasl mailing list