cyrus / ldap / authentication whining
I've tried now for several weeks to get cyrus-imap working and was making some really impressive progress. Unfortunately I've kind of hit a wall. I was never able to get the authentication working 100% on anything other than pam-->/etc/passwd. Not wanted to have an account for everyone using this mail server I tried to configure it for sasldb2 as the basis of authentication but ran into a brick wall getting sieveshell to authenticate. I was able to get sieveshell to authenticate under the pam-->/etc/passwd authentication model, but it was inconsistent which really pissed me off. I have not been able to find anything to suggest I'm doing anything slightly wrong and can only conclude that the sieveshell code is flawed at this point. Unfortunately there isn't much documentation on sieveshell or cyrus-imap in general. So, I removed the imapd.conf configuration for sasldb2 and reverted everything back to saslauthd / pam. So, seeing as this wasn't getting me anywhere and I might have more luck someplace else, I started to dabble with LDAP authentication and installed all the packages. At this point I should mention that I was still having inconsistencies on the sieveshell authentication even using /etc/passwd as the source. Last night I ran into a rather haunting error. I created an ldif file and tried to add it to the openldap server using 'ldapadd -a foo.ldif' The result in the logs... It can't authenticate because it can't find the file /etc/sasldb2. That didn't exist before I started into all this sasldb2 stuff and it doesn't exist now. Any bets on just how screwed up is my authentication model is at this point? I can reboot/login well enough, but the problem persists. According to some searches in sysconfig directories and the /etc directory I can't find anything out of place that mentions sasldb. So, at this point I'm looking at probably just reinstalling everything from scratch and hoping that somehow this gets sorted out in the process. I'm fairly disappointed in the level of documentation available for cyrus-imap. Does anyone know of another maildir compatable imap server?
Am Dienstag, 28. Oktober 2003 12:56 schrieb Tom Allison:
Last night I ran into a rather haunting error. I created an ldif file and tried to add it to the openldap server using 'ldapadd -a foo.ldif' The result in the logs... It can't authenticate because it can't find the file /etc/sasldb2.
# ldapadd ... -x ... skips sasl.
Does anyone know of another maildir compatable imap server?
Maybe Courier? But i would try actual Versions of sasl and cyrus-imap before. -- Andreas
participants (2)
-
Andreas Winkelmann
-
Tom Allison