So I have written a lot of perl code around just simple bind in SSL to
our LDAP for a long time because GSSAPI support in perl was lacking (or
was really hard to get to work) for a long time.
Now I see things may have changed and have started to try to get it to
work again.
So I compiled Authen-SASL 2.10 and GSSAPI 0.22 and everything seemed to
go just fine, now when I am trying to connect though either I don't have
the right incantation or something,
my $sasl = Authen::SASL->new(mechinism => 'GSSAPI');
my $ldap = Net::LDAP->new($LDAPSERVER) || die "ERROR: [EMAIL PROTECTED]";
my $mesg = $ldap->start_tls(verify => 'none');
$mesg = $ldap->bind("",sasl => $sasl,version=>3);
Doesn't seem to do the right thing...
GSSAPI and the LDAP are working fine as,
ldapsearch -YGSSAPI -h ldaprw ou=people
Does the correct thing and authenticates me with GSSAPI creds to the LDAP..
Thoughts?
--
---
Derek T. Yarnell
University of Maryland
Institute for Advanced Computer Studies
[EMAIL PROTECTED]