Cyrus + LDAP Suggestions/Help

Michael Nguyen michaeln at twentyten.org
Sat Nov 6 22:59:48 EST 2004


Hi Igor,

[snip]

> > Here is /etc/saslauthd.conf
> >
> > ldap_servers: ldap://127.0.0.1
> > ldap_search_base: dc=dev2,dc=test,dc=spam
> > ldap_bind_dn: dc=dev2,dc=test,dc=spam
> > ldap_password: secret
> > ldap_scope: one
>
> > ldap_uidattr: userName
> > ldap_filter_mode:  yes
>
> There are no such parameters in saslauthd.conf.

Damnit.  I was following a How-To that I found using Google.

> > ldap_filter: userName=%u
>
> What do you get in syslog (authlog)?

I get these errors:

Nov  6 20:03:17 dev2 pop3[15192]: DBERROR: reading /var/imap/db/skipstamp,
assuming the worst: No such file or directory
Nov  6 20:03:18 dev2 pop3[15192]: skiplist: recovered /var/imap/mailboxes.db
(0 records, 144 bytes) in 1 second
Nov  6 20:03:22 dev2 pop3[15192]: cannot connect to saslauthd server: No
such file or directory
Nov  6 20:03:22 dev2 pop3[15192]: badlogin: localhost.localdomain
[127.0.0.1] plaintext michaeln SASL(-1): generic failure: checkpass failed

These look like it's trying to grab the user from the Cyrus userdb and not
LDAP.

The entries I put in saslauthd.conf....where do they belong?  The
imapd.conf?


Michael

---
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