imap-daemon ignores saslauthd

Mikhail T. mi+thun at aldan.algebra.com
Wed Mar 24 15:13:32 EDT 2010


Hello!

I wish to use saslauthd, because all of my IMAP-users are also 
Unix-users. The only non-default settings, that match sasl* in my 
imapd.conf are:

    sasl_minimum_layer: 0
    sasl_pwcheck_method: saslauthd

Testing with testsaslauthd works fine:

    testsaslauthd -u cyrus -p c
    0: OK "Success."

Unfortunately, cyradm keeps failing:

    cyradm --user cyrus --server localhost
    Password:
    Login disabled.
    cyradm: cannot authenticate to server with  as cyrus

After every such attempt to run cyradm, the server logs:

    "perl: No worthy mechs found"

My SASL library is of version 2.1.23 (built by its FreeBSD port) 
configured with:

    --sysconfdir=/opt/etc --with-configdir=/opt/lib/sasl2:/opt/etc/sasl2
    --with-plugindir=/opt/lib/
    sasl2 --with-dbpath=/opt/etc/sasldb2 --includedir=/opt/include
    --enable-static --enable-auth-sasldb --with-rc4=
    openssl --with-saslauthd=/var/run/saslauthd --with-dblib=ndbm
    --without-mysql --without-pgsql --without-sqlite
    --with-devrandom=/dev/urandom
    --with-authdaemond=/var/run/authdaemond/socket --enable-login
    --disable-otp --ena
    ble-ntlm --disable-gssapi --disable-krb4 --with-openssl=yes
    --prefix=/opt --mandir=/opt/man --infodir=/opt/info
    / --build=i386-portbld-freebsd8.0

The saslauthd is of the same version. The cyrus-imapd is version 2.3.16 
(I wish to set up replication later and thus need 2.3.x).

Please, advise. Thank you!

	-mi



More information about the Cyrus-sasl mailing list