From: <jhe...@of...> - 2002-07-17 00:42:46
|
Environment: Perl 5.6.1 Net::LDAP 0.251 Authen::SASL 2.02 Authen::SASL::Cyrus 0.05 Trying to use Net::LDAP with GSSAPI authentication. I know GSSAPI authentication against my LDAP server works in my environment outside of Perl (ldapsearch, etc.) I also had it working within Perl with an earlier version of Net::LDAP and the Authen::SASL::GSSAPI module from Simon Wilkinson. However, with the latest stuff I get: > ./test_netldap_sasl_basic SASL(-13): authentication failure: GSSAPI Failure: gss_accept_sec_context at ./test_netldap_sasl_basic line 11. Segmentation fault Where test_netldap_sasl_basic is: -------------------------------------------------- #!/usr/bin/perl -w use Net::LDAP; use Authen::SASL; my $ldap = Net::LDAP->new('ldap1.aput.net') || die "$@"; my $sasl = Authen::SASL->new(mechanism => 'GSSAPI'); my $mesg = $ldap->bind('uid=test', sasl => $sasl, version => 3); $mesg->code && die $mesg->error; -------------------------------------------------- Anyone have this working? Is it possible with just Authen::SASL::Cyrus? Or do I still need an Authen::SASL::GSSAPI module? If so, anyone working on an updated one and need a beta tester? :) Jason |