Re: pwcheck_method + multiple methods?


Subject: Re: pwcheck_method + multiple methods?
From: Ken Murchison (ken at oceana dot com)
Date: Tue Apr 29 2003 - 08:33:34 EDT


mh at tellux dot de wrote:
>
> Hi,
>
> I need an advice, if I could use multiple pwcheck methods and how I can
> realize it.
>
> I have the problem that some clients need Cram-MD5 and the others need
> Plain or Login. In the moment I see only two ways to solve the problem:
> 1.
> something like pwcheck_method: passwd sasldb (I tried this syntax but it
> didn't work)

You can do this, but you have to use the correct options for SASL v2:

pwcheck_method: saslauthd auxprop

and run:

saslauthd -a getpwent

Keep in mind that pwcheck_method only specifies how to verify plaintext
passwords. If a client tries to use any other mechanism (eg, CRAM),
then SASL will always use an auxprop plugin (eg, sasldb2).

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD