[rt-users] Problems with RT::Authen::ExternalAuth::LDAP after upgrade to 4.4

Shawn Moore shawn at bestpractical.com
Thu Feb 11 14:02:50 EST 2016


Hi Gavin,

On 2016年2月11日 at 10:20:44, Gavin Henry (gavin.henry at gmail.com) wrote:
> Undefined subroutine
> &RT::Authen::ExternalAuth::LDAP::CanonicalizeUserInfo called at
> /opt/rt4/sbin/../lib/RT/User.pm line 787.

Could you try loading that module in that bit of code, near /opt/rt4/lib/RT/User.pm line 787. Changing:

    if($config->{'type'} eq 'ldap'){
        ($found, %params) = RT::Authen::ExternalAuth::LDAP::CanonicalizeUserInfo($service,$key,$value);
    } elsif ($config->{'type'} eq 'db') {

to:

    if($config->{'type'} eq 'ldap’){
        require RT::Authen::ExternalAuth::LDAP;
        ($found, %params) = RT::Authen::ExternalAuth::LDAP::CanonicalizeUserInfo($service,$key,$value);
    } elsif ($config->{'type'} eq 'db') {

Please let us know if that makes it any better.

Thanks,
Shawn





More information about the rt-users mailing list