Cyrus SASL + LDAP

Anthony Messina amessina at messinet.com
Mon Sep 4 11:20:56 UTC 2006


Chong Yu Meng wrote:
> Hi all,
> 
> Not strictly a Fedora issue. 
> 
> I'm trying to get my head around the following configuration:
> 
> I want to setup Cyrus SASL such that it will look up a OpenLDAP
> directory tree to retrieve the password for authentication. Cyrus SASL
> and OpenLDAP will provide authentication services for Cyrus IMAP as well
> as Postfix. 
> 
> From Googling about for the last 3 hours, I have been able to gather
> that I should define the following inside /etc/saslauthd.conf:
> ldap_servers
> ldap_bind_dn
> ldap_bind_pw
> ldap_search_base
> 
> But this will only work if the username is a UID in the tree. For my
> purposes, I need SASL to look up the mail attribute and get the
> corresponding password. 
> 
> Is there a parameter that will allow me to define a LDAP search string?
> 
> Thanks in advance !
> 
> 
man imapd.conf

scroll down until you get to the ldap_filter parameter

-- 
Anthony
http://messinet.com
http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060904/f3ef8f2a/attachment-0001.sig>


More information about the fedora-list mailing list