Hi,
   I'm programming Perl in SASL using LDAP, using Perl 5.6.1. 
I've installed packages Convert-ASN1-0.17, Authen-SASL-2.04 (all from 
cpan)and perl-cyrus-sasl-0.02 (from 
http://www.sxw.org.uk/computing/software/ ).

The sasl version is cyrus-sasl-1.5.24-23
I'm using one of the exampls provided from the packages - code snippet as 
follows:
#!/usr/bin/perl -I../blib/lib -I../blib/arch

use Net::LDAP;
use Authen::SASL;

$dn = hostname.colony.co.nz  # False info here
$ldap = Net::LDAP->new($dn) or die "$@";
$sasl = Authen::SASL->new('GSSAPI',
                          fqdn =>'$dn',
                          service => 'ldap',
                          user => 'gsmyth');

$mesg = $ldap->bind( "dc=colony,dc=co,dc=nz,cn=$user",
                     sasl => $sasl,
                     version=> 3);
print "Message is ",$mesg->code,"\n";

#### End of code snippet
The bind part fails issuing a message
"Cannot locate auto/Authen/SASL/Cyrus/client_new.al in @INC (@INC contains 
... various library paths).

client_new.al does not exist on my machine.
Red Hat Version is 7.2 (Enigma)

Furthermore I can perform shell ldapsearches using SASL/GSSAPI...
Can anyone help? - Hopefully the blurb is understandable?
Regards
Gerry

Linux Infrastructure - Developer
Int Ext 8896
Ext Email [EMAIL PROTECTED]

Reply via email to