cyrus-imapd sasl ldap problem

Jesus Ruiz darth.timeus at gmail.com
Tue Aug 16 17:41:43 EDT 2005


Hi, i have been trying to install the cyrus-imapd to authenticate
through sasl and i need sasl read it data from a ldap server. I'm
running redhat AS 4


I manage to make work the sasl-2.1.21 with openldap-2.2.27


I compiled the sasl with this options:
./configure --prefix=/usr \
   --with-plugindir=/usr/lib/sasl­2 \
   --with-rc4 \
   --with-dblib=berkeley \
   --enable-anon \
   --enable-cram \
   --enable-digest \
   --enable-plain \
   --enable-login \
   --enable-ntlm \
   --enable-ldapdb \
   --with-ldap=/usr/local


I compiled the cyrus-imapd-2.2.12 with this options:
./configure --enable-netscapehack \
  --enable-annotatemore \
  --enable-listext \
  --enable-fulldirhash \
  --enable-murder \
  --without-ucdsnmp \
  --with-perl \
  --with-libwrap=/usr \
  --with-cyrus-prefix= \
  --with-auth=unix


The /etc/saslauthd.conf file is:
ldap_servers: ldap://localhost/ ldaps://localhost/
ldap_bind_dn: cn=someone,dc=my domain,dc=com
ldap_password: xxxxx
ldap_search_base: ou=mail_users,dc=my domain,dc=com
ldap_mech: DIGEST_MD5


the /etc/imapd.conf file is:
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: postman
lmtp_downcase_rcpt: 1
#authentication ldap
sasl_pwcheck_method: saslauthd
sasl_ldap_servers: ldap://localhost/ ldaps://localhost/
sasl_ldap_bind_dn: cn=someone,dc=mydomain,dc=com
sasl_ldap_password: xxx
sasl_ldap_basedn: ou=mail_users,dc=mydomain,dc=c­om
sasl_ldapdb_mech: DIGEST-MD5
sasl_auxprop_plugin: ldap
sasl_auto_transition: yes
sasl_saslauthd_path: /var/state/saslauthd/mux
sasl_sasldb_path: /etc/sasldb2
##end ldap authentication
virtualdomains: yes
defaultdomain: mydomain.com


but when i start the cyrus-imapd i get the following errors in syslog
and auth.log:


Aug 12 17:38:55 mail imap[8685]: auxpropfunc error invalid parameter
supplied
Aug 12 17:38:55 mail imap[8681]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
Aug 12 17:38:55 mail imap[8682]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
Aug 12 17:38:55 mail imap[8685]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
Aug 12 17:38:55 mail imap[8687]: auxpropfunc error invalid parameter
supplied
Aug 12 17:38:55 mail imap[8686]: auxpropfunc error invalid parameter
supplied
Aug 12 17:38:55 mail pop3[8684]: auxpropfunc error invalid parameter
supplied
Aug 12 17:38:55 mail imap[8687]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
Aug 12 17:38:55 mail imap[8686]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
Aug 12 17:38:55 mail pop3[8684]: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb

I'm doing this because i'm migrating a qmail-vpopmail box to
sendmail-cyrus-imapd box


More information about the Cyrus-sasl mailing list