saslauthd links the pam libraries just like libsasl used to in SASLv1. libsasl2 now connects to a unix domain socket, which saslauthd is listening to, presents the username and password, and saslauthd consults pam, and replies either yes or now. This is similar to how pwcheck works.
To start saslauthd, you give it a password checking mechanism (e.g. pam or rimap or kerberos4 or shadow, such as: saslauthd -a shadow -Rob On Fri, 7 Dec 2001, Vincent Stoessel wrote: > How then does pam interface with the new saslauthd? > > > > Rob Siemborski wrote: > > > On Fri, 7 Dec 2001, Robert Scussel wrote: > > > > > >>My imapd.conf file looks like so: > >> configdirectory: /var/spool/imapdb > >> partition-default: /var/spool/imap > >> sasl_pwcheck_method: PAM > >> reject8bit: no > >> > > > > SASLv2 no longer makes use of the many internal pwcheck methods that it > > used previously. Instead, all of this code has been externalized into the > > saslauthd program. > > > > You will want to set sasl_pwcheck_method: saslauthd and be sure to compile > > SASL --with-saslauthd. > > > > Then, you will need to start the saslauthd daemon running, so that SASL > > can connect to and authenticate from it. > > > > -Rob > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > Rob Siemborski | Andrew Systems Group * Cyert Hall 235 * 412-CMU-TREK > > | Cyrus SASL Developer, /usr/contributed Gatekeeper > > > > > > > > -- > Vincent Stoessel [EMAIL PROTECTED] > Java Linux Apache Mysql Php (JLAMP) Engineer > (301) 362-1750 Mobile (410) 419-8588 > AIM, MSN: xaymaca2020 , Yahoo Messenger: vks_jamaica > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski | Andrew Systems Group * Cyert Hall 235 * 412-CMU-TREK | Cyrus SASL Developer, /usr/contributed Gatekeeper