[rt-users] ldap auth failing

Mark Taylor mtaylor at real.com
Tue Jan 4 15:11:40 EST 2005

nothing happened with

perl -MNet::LDAP -e 0

prompt returned.  However, NET::LDAP is in the $INC path 
reinstalled perl-ldap with no effect.

this is rt3.0 on Debian, Perl 5



Todd Chapman wrote:

>Perhaps Net::LDAP is not loading. What happens when you run:
>perl -MNet::LDAP -e 0;
>On Fri, Dec 31, 2004 at 02:24:36PM -0800, Mark Taylor wrote:
>>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.
>>61:  	$RT::Logger->info("Using External Authentication\n");
>>62:  	use Net::LDAP;
>>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;
>>67:  	# Iseem to have problems is I try and bind with a NULL username by 
>>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
>>raw error
>>Be sure to check out the RT wiki at http://wiki.bestpractical.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050104/4f1fec8f/attachment.htm>

More information about the rt-users mailing list