<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
nothing happened with <br>
<br>
perl -MNet::LDAP -e 0<br>
<br>
prompt returned. However, NET::LDAP is in the $INC path
(/usr/share/perl5/NET/LDAP.pm).<br>
reinstalled perl-ldap with no effect.<br>
<br>
this is rt3.0 on Debian, Perl 5<br>
<br>
thanks<br>
<br>
mt<br>
<br>
<br>
Todd Chapman wrote:<br>
<blockquote cite="mid20050101155536.GE11055@chaka.net" type="cite">
<pre wrap="">Perhaps Net::LDAP is not loading. What happens when you run:
perl -MNet::LDAP -e 0;
-Todd
On Fri, Dec 31, 2004 at 02:24:36PM -0800, Mark Taylor wrote:
</pre>
<blockquote type="cite">
<pre wrap="">when I attempt to login as 'root', the first attempt produces this
message (the second succeeds). I assume the success on the second try
results from a fallback to local auth. Logging in as a known user fails
without any error message. I'm not seeing any authentication attempt on
the ldap server.
error: Can't locate object method "new" via package "Net::LDAP"
(perhaps you forgot to load "Net::LDAP"?) at
/usr/share/request-tracker3/lib/RT/User_Local.pm line 65.
context:
...
61: $RT::Logger->info("Using External Authentication\n");
62: use Net::LDAP;
63:
64: my $mesg;
65: my $ldap = Net::LDAP->new($RT::LdapServer, version=>3) or
$RT::Logger->critical("GetExternalUserWithLDAP: " . "Cannot connect to
LDAP'\n"), return 0;
66:
67: # Iseem to have problems is I try and bind with a NULL username by
hand
68: # So this now checks to see if we are really going to bind with a
69: # username.
...
code stack: /usr/share/request-tracker3/lib/RT/User_Local.pm:65
/usr/share/request-tracker3/lib/RT/CurrentUser.pm:273
/usr/share/request-tracker3/html/autohandler:172
raw error
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Be sure to check out the RT wiki at <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>