Re: Cyrus IMAP / SASL / LDAP virtual domain authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx 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@xxxxxxxxxxxx" 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@xxxxxxxxxxxx".
> 
> I can "fix" this by adding "ldap_filter: %u@%r" in saslauthd.conf and this
> works for fully qualified names like "myuser@xxxxxxxxxxxx" 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


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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux