Ticket #11826 (new enhancement)
RFE: cyrus-sasl2 add PAM support
| Reported by: | cgriff@… | Owned by: | jmpp@… |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | pam, saslauthd | Cc: | landonf@… |
| Port: | cyrus-sasl2 |
Description
With the current cyrus-sasl2 port (2.1.21_0), PAM is not a supported authentication mechanism in saslauthd. It would be nice if it was.
The following page describes a hack to get it working: http://translate.google.com/translate?hl=en&sl=ja&u=http://gema.luna2.org/mt/2006/11/cyrus_sasl_pam_on_mac_os_x.html
The page has some formatting errors, so here is a cleaned-up version of the relevant text:
sudo port configure cyrus-sasl2 cd /opt/local/var/db/dports cd sources/rsync.rsync.darwinports.org_dpupdate_dports cd security/cyrus-sasl2 cd work/cyrus-sasl-2.1.21/saslauthd sudo vi saslauthd.h 91st line/* #undef HAVE_PAM * ↓ #define HAVE_PAM 1 sudo vi Makefile 70th line LIBS = - lresolv - lresolv ↓ LIBS = - lresolv - lpam sudo port build cyrus-sasl2 sudo port - f uninstall cyrus-sasl2 sudo port install cyrus-sasl2
The modified cyrus-sasl2 seems to work on my computer.
Change History
Note: See
TracTickets for help on using
tickets.

