From: <jh...@of...> - 2002-07-18 01:28:35
|
Ok, I removed Mark's Authen::SASL::Cyrus and reinstalled Simon's Authen::SASL::Cyrus and ::GSSAPI. Then I copied the GSSAPI.pm you provided to Authen/SASL/Perl/. Added the Plugins line you suggested below to my test app, and now I get: > ./test_netldap_sasl_basic generic failure at /usr/lib/perl5/site_perl/5.6.1/Authen/SASL/Perl/GSSAPI.pm line 34 That line being: Authen::SASL::GSSAPI::initial($self->{'_gssapi'}); Which in turn croaks due to: my $mesg=Authen::SASL::Cyrus::start($self->{'conn'},"GSSAPI"); returning undef. It looks like it is being passed valid stuff, and a look at the code for the start function seems to indicate that it only returns undef if it gets an error back from the SASL library, so maybe something's not quite right on my end. I'll poke at it some more and let you know if I make any progress. Thanks for providing the GSSAPI module. Jason On Wed, Jul 17, 2002 at 11:08:40AM +0100, Graham Barr wrote: > > I have not tested this, but attached is a module for Authen::SASL 2.0 that should > allow you to use Simons GSSAPI module. As Simons Cyrus module is not written for 2.0 > you will also need todo > > use Authen::SASL; > @Authen::SASL::Plugins = qw(Authen::SASL::Perl); > > Of course Simons module has a module called Authen::SASL::Cyrus, so you cannot > have his and Marks modules installed together. > > Graham. |