[prev in list] [next in list] [prev in thread] [next in thread]
List: cyrus-sasl
Subject: Re: (newbie) fatal: no SASL authentication mechanisms
From: Simon Loader <simon () surf ! org ! uk>
Date: 2003-02-26 11:31:41
[Download RAW message or body]
> Hm, that one should be pretty correct (the postfix setup) since I did
> it as it is shown in a book. A friend of mine has done it the same way
> on a SuSE-Linux and there it works... (he's in holiday so I can't ask
> him unfortunately)
>
> However, I got a bunch more of informations. First I took a better look
> at the system.log and found another row:
> Feb 26 11:52:14 localhost postfix/smtpd[6619]: Could not find a dlname
> line in .la file: libsasldb.la
> Feb 26 11:52:14 localhost postfix/smtpd[6619]: fatal: no SASL
> authentication mechanisms
As always I am blind more coffee might help.
I remeber something in the mailing list about sasl on MACOS
search :-
http://asg.web.cmu.edu/archive/index.php?mailbox=archive.cyrus-sasl
>
> So the libsasldb.so is missing as far as I think...
>
> Perhaps first line is somehow related to second line (I don't know)
> I also took a better look at what's happening during compile and
> fetched this one:
> /bin/sh ../libtool --mode=link gcc -Wall -W -Wall -g -O2
> -L/usr/local/lib -module -export-dynamic -rpath /usr/lib/sasl2 -o
> libotp.la -version-info 2:12:0 otp.lo otp_init.lo plugin_common.lo
> -lcrypto ../sasldb/libsasldb.la -ldb
>
> *** Warning: This library needs some functionality provided by -ldb.
> *** I have the capability to make that library automatically link in
> when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
>
> *** Warning: libtool could not satisfy all declared inter-library
> *** dependencies of module libotp. Therefore, libtool will create
> *** a static module, that should work as long as the dlopening
> *** application is linked with the -dlopen flag.
>
> I'm wondering how to disable libsasldb since I'm not gonna use it
> (authenticating only via mysql).
> I tried with
> ./configure --disable-krb4 --disable-gssapi --disable-otp
> --disable-saslauthd --with-mysql=/usr/local/mysql --enable-login
> --enable-cram --enable-digest
>
> But it still compiles sasldb. I didn't find another option to disable
> it...
>
> best regards
> Stefan Rusterholz
>
> >
> > --
> > Simon Loader
> >
> >
> >>> On Wed, 2003-02-26 at 09:38, Stefan Rusterholz wrote:
> >>>> Hi there
> >>>>
> >>>> I compiled cyrus-sasl (2.1.12) on MacOS X 10.2.3. I compiled postfix
> >>>> for making use of it. But when I enable SASL-Authentication in
> >>>> postfix
> >>>> it keeps writing into my system.log:
> >>>> Feb 26 10:12:12 localhost postfix/smtpd[27810]: fatal: no SASL
> >>>> authentication mechanisms
> >>>> And therefore postfix always immidiatly closes connections...
> >>>>
> >>>> My smtpd.conf:
> >>>> [local/lib/sasl2] root# cat smtpd.conf
> >>>> allowplaintext: yes
> >>>> minimum_layer: 0
> >>>> auxprop_plugin: mysql
> >>>> pwcheck_method: auxprop
> >>>> mysql_user: <mysql-username>
> >>>> mysql_passwd: <mysql-password>
> >>>> mysql_host: localhost
> >>>> mysql_database: system_mail
> >>>> mysql_statement: select password from mailbase where id='%u'
> >>>> mysql_verbose: yes
> >>>>
> >>>> What do I do wrong?
> >>>> I never used cyrus-sasl before. If I missed something in the docs
> >>>> please point me to it.
> >>>>
> >>>> best regards
> >>>> Stefan Rusterholz
> >>>>
> >>>> Additionals:
> >>>> SASL-configure:
> >>>> ./configure --disable-krb4 --disable-gssapi
> >>>> --with-mysql=/usr/local/mysql --enable-login
> >>>>
> >>>> Patches:
> >>>> on line 178 of ./libtool exchanged the string "echo -bundle || echo
> >>>> -dynamiclib" with "echo -dynamiclib || echo -dynamiclib"
> >>>> on line 146 of ./saslauthd/Makefile set line 146 to "CFLAGS = -g -O2
> >>>> -no-cpp-precomp" (instead of "CFLAGS = -g -O2")
> >
> > --
> > Simon Loader
> > "Ive had all I can stands I cant stand no more" - pop i
> >
--
Simon Loader
"Ive had all I can stands I cant stand no more" - pop i
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic