Cyrus IMAP / SASL / LDAP virtual domain authentication

lartc lartc at manchotnetworks.net
Tue Apr 18 05:39:33 EDT 2006


hi john,

try adding

ldap_default_realm: domain.tld
ldap_realm: domain.tld

to your saslauthd.conf & restart saslauthd

cheers

charles



On Tue, 2006-04-18 at 05:12 -0400, 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@".
> 
> 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
-- 
"simplified chinese" is not nearly as easy as they would
have you believe ... a superlative oxymoron" --anonymous




More information about the Info-cyrus mailing list