On Tue, 2 Aug 2005, Cristian Salan wrote:
Hi list, I'm trying to make a simple setup using CyrusImapd with OpenLdap user database. The following errors are listed in /var/log/messages: imap[36714]: auxpropfunc error invalid parameter supplied ptloader[36715]: starting: $Id: ptloader.c,v 1.39 2004/12/17 16:32:26 ken3 Exp $ (ldap) ptloader[36715]: ldap_sasl_interactive_bind() failed 16 (No such attribute). imap[36714]: ptload(): bad response from ptloader server: ptsmodule_connect() failed
These are ptloader errors.
imap[36714]: bad userid authenticated imap[36714]: badlogin: localhost [::1] plaintext some_existing_ldap_user invalid user and in auth.log: imap[36714]: auxpropfunc error invalid parameter supplied imap[36714]: bad userid authenticated
Something is wrong with your ldapdb configuration and possibly openldap config. See cyrus-sasl-src/doc/options.html
My (maybe too simple) config follows imapd.conf configdirectory: /var/imap partition-default: /var/spool/imap allowplaintext: yes sasl_pwcheck_method: auxprop sasl_auxprop_plugin: ldapdb sasl_mech_list: plain login
ldap_uri: ldap://127.0.0.1/ ldap_base: dc=foo,dc=org ldap_bind_dn: cn=Manager,dc=foo,dc=org ldap_password: password
These are pts/ldap config params. More than likely you do not need those. See cyrus-imapd/doc for more on authentication vs authorization.
-- Igor --- 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