Hi, On Wednesday, 14. September 2005 12:32, Hirmke Michael wrote: > Is it possible to use Authen::SASL::Cyrus with GSSAPI first and - if > that one fails - use Authen::SASL:Perl DIGEST-MD5 next? > The reason for this is, that Authen::SASL::Cyrus DIGEST-MD5 doesn't work > on some of our older Linux boxes, while Authen::SASL:Perl works perfectly.
Hmm, that's a tricky one;- You need 2 Authen::SASL objects. Before handing over the first to $ldap->bind() set the plugin list to Authen::SASL::Cyrus by Authen::SASL->import(qw/Authen::SASL::Cyrus/); # Authen::SASL 2.09+ or @Authen::SASL::Plugins = ( qw/Authen::SASL::Cyrus/ ) # all versions When the bind fails and you need the DIGEST-MD5 mech, simply set the plugin list to Authen::SASL::Perl using the described methods. Please note: I haven't tesd it. So it may or may not work. Hope it helps PEter -- Peter Marschall eMail: [EMAIL PROTECTED]