Cyrus IMAP / SASL / LDAP virtual domain authentication

listmail at oceanfree.net listmail at oceanfree.net
Tue Apr 18 05:12:29 EDT 2006


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




More information about the Info-cyrus mailing list