Cyrus IMAP / SASL / LDAP virtual domain authentication

Igor Brezac igor at ipass.net
Tue Apr 18 09:23:04 EDT 2006


On Tue, 18 Apr 2006, listmail at oceanfree.net wrote:

> Hello,
>
> I'm trying to set up Cyrus IMAP for virtual domains and authenticating
> users in LDAP.
>
> I have the basic configuration working but I have a problem that for
> "myuser at mydomain.com" the authentication sent to LDAP is just for "myuser".
> I believe this is down to SASL defaulting the ldap filter to "myuser"
> instead of "myuser at mydomain.com".
>
> I can "fix" this by adding "ldap_filter: %u@%r" in saslauthd.conf and this
> works for fully qualified names like "myuser at mydomain.com" but for simple
> users like "cyrus" this does not work as the authentication is then
> performed like "cyrus@".

use ldap_filter: %u%R

-Igor

>
> I need SASL to just authenticate with the name supplied by the user,
> verbatim.
>
> Can someone please offer guidance of how this can be achieved ?
>
> Thanks,
> John
>
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
> ----
> 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
>

-- 
Igor


More information about the Info-cyrus mailing list