[rt-users] ldap auth failing
Todd Chapman
rt at chaka.net
Sat Jan 1 10:55:36 EST 2005
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:
> 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
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
More information about the rt-users
mailing list