Cannot log into cyrus using IMAP
Eric B.
ebenze at hotmail.com
Mon May 10 18:18:54 EDT 2004
> > Originally, I just had /usr/lib/sasl2/libsql.a library installed in the
> > plugin directory. Once I added /usr/lib/sasl2/libsql.la, .so*, I get a
> > bunch of error msgs when starting cyrus-imapd that SQL engine 'mysql' is
> > not supported:
>
> > May 10 15:05:35 linuxmail imap[2508]: SQL engine 'mysql' not supported
> > May 10 15:05:35 linuxmail imap[2508]: auxpropfunc error no mechanism
> > available
>
> > Now, I am sure I compiled Cyrus-SASL with the --enable-sql flag, so I'm
> > assuming that's what generated the libsql* files. However, I didn't see
>
> There are two possible plugins inserted in the sql-plugin. One is
PostgreSQL
> and one is mysql. You should add an configure-option "--with-mysql=/path"
to
> say configure which one should be used. The Path depends on your setup.
One
> is the Include-Path one the Lib-Path. If your Include-Path is
"/usr/include/
> mysql" and the Lib-Path "/usr/lib/mysql", so add "--with-mysql=/usr".
>
> > the same flag available for the Cyrus-Imapd pkg. Did I overlook
something
> > in the configuration docs? I've read thru the docs and even the
> > configure --help options and don't see anything anywhere relating to
mysql.
> > Is there an extra flag that it needs to be compiled with as well? I
>
> This is only sasl-related. Cyrus-Imapd does not no anything about mysql.
It
> should only use libsasl2.*, nothing else.
I tried recompiling / reinstalling with the following flags:
--enable-static --with-pic --enable-shared --disable-java \
--with-plugindir=/usr/lib/sasl2 \
--disable-krb4 \
--enable-gssapi=/usr/kerberos \
--with-rc4 \
--with-dblib=berkeley \
--with-saslauthd=/var/run/saslauthd --without-pwcheck \
--enable-anon \
--enable-cram \
--enable-digest \
--enable-plain \
--enable-login \
--enable-ntlm \
--enable-sql \
--with-ldap \
--with-mysql=/usr
But am still getting the following when I launch cyrus-master in my
auth.log: (I also tried with --with-mysql=/usr/lib/mysql with the same
results)
May 10 18:01:26 linuxmail saslauthd[23072]: ipc_init : listening on
socket: /var/run/saslauthd/mux
May 10 18:01:26 linuxmail imap[23084]: SQL engine 'mysql' not supported
May 10 18:01:26 linuxmail imap[23084]: auxpropfunc error no mechanism
available
May 10 18:01:26 linuxmail imap[23084]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: sql
May 10 18:01:26 linuxmail imaps[23085]: SQL engine 'mysql' not supported
May 10 18:01:26 linuxmail lmtpunix[23088]: SQL engine 'mysql' not supported
May 10 18:01:26 linuxmail pop3[23086]: SQL engine 'mysql' not supported
May 10 18:01:26 linuxmail pop3s[23087]: SQL engine 'mysql' not supported
May 10 18:01:26 linuxmail imaps[23085]: auxpropfunc error no mechanism
available
May 10 18:01:26 linuxmail lmtpunix[23088]: auxpropfunc error no mechanism
available
May 10 18:01:26 linuxmail pop3[23086]: auxpropfunc error no mechanism
available
May 10 18:01:26 linuxmail pop3s[23087]: auxpropfunc error no mechanism
available
....
....
I don't get it! Am I doing something wrong here? Am I missing a
configuration file somewhere? Can Cyrus-Master be confusing SASL & SASL2?
Do I have wrong information in one of my config files?
I've made sure that /usr/lib/sasl2 is in the ld.so.conf file, just in case,
but as expected, it made no difference.
Can you see something that I am missing? I'm starting to tear my hair out
here as to why this isn't working.... I'm not sure what/where to look
anymore! Any clues would be incredibly helpful and very much appreciated!
Thanks!
Eric
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list