Well..... this sort of works, and yes, the system authentication is already going through
The system is a free-bsd 6.0 system, and I am able to authenticate using what you
described but I am not able to create mailboxes, which is something for the cyrus imap
list. I was just seeing if anyone had any luck doing this or if there were specific
options that had to be enabled or modified for this to work with the FDS.
----- Original Message -----
From: "Anthony M. Farrell" <tfar(a)smc.co.nz>
To: "General discussion list for the Fedora Directory server project."
Sent: Wednesday, January 23, 2008 5:57:58 PM (GMT-0800) America/Los_Angeles
Subject: Re: [Fedora-directory-users] Saslauthd Authentication Issues
On Thu, 24 Jan 2008 13:39:08 Jared B. Griffith wrote:
I am trying to see if I can't get an existing Cyrus Imap server
authenticate against our directory server. The people at cyrus recommend
the followng configuration in saslauthd.conf ldap_servers:
ldap_uidattr: the-attribute-name-in-which-you-store-usernames, es: uid
This doesn't work, I have tried different variations of this and have had
no luck. I am wondering if anyone has had experience with this and what
sort of tricks (if any) they did to get this to work properly. Are there
any docs out there that I am missing?
Any help would be appreciated.
The easiest way if you are using Cyrus IMAP on Fedora or Redhat is to use PAM
to authenticate. The following assumes you have first enabled directory
authentication on the mail server using 'authconfig' to set up LDAP
in '/etc/pam.d/system-auth' as required.
1. Edit '/etc/sysconfig/saslauthd' and ensure that 'MECH="pam" is
2. Edit '/etc/imapd.conf' and make sure that 'sasl_pwcheck_method' is set
to 'saslauthd' even though you will be using PAM.
3. Edit '/etc/pam.d/imap' to read as follows:
auth sufficient /lib/security/$ISA/pam_ldap.so
account sufficient /lib/security/$ISA/pam_ldap.so
4. Start saslauthd and cyrus-imapd and set chkconfig to on.
5. Create some mailboxes and away you go!
A more complete blurb can be found at 'www.wlug.org.nz/CyrusNotes'
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Fedora-directory-users mailing list