New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #11826 (new enhancement)

Opened 6 years ago

Last modified 4 years ago

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

comment:1 Changed 6 years ago by pipping@…

  • Milestone set to Port Enhancements

comment:2 Changed 6 years ago by nox@…

  • Priority changed from Nice to have to Low

comment:3 Changed 4 years ago by anonymous

  • Milestone Port Enhancements deleted

Milestone Port Enhancements deleted

comment:4 Changed 4 years ago by jmr@…

  • Keywords cyrus-sasl2, removed
  • Cc jmpp@… removed
  • Port set to cyrus-sasl2
Note: See TracTickets for help on using tickets.