Ok, problem is resolved.

It seems to be an issue with Net::LDAP 0.4001 (perl-ldap-0.4001.tar.gz). Patch 
available in https://rt.cpan.org/Public/Bug/Display.html?id=56726.

rt-crontool runs now. :)

Regards,

.lzs

On Apr 30, 2011, at 3:07 PM, Lai Zit Seng wrote:

> Hi,
> 
> I've just started trying to play around with RT4. I also installed 
> RT::Authen::ExternalAuth 0.08_02. LDAP authentication is configured and it 
> works fine. However, I've a problem with rt-crontool. Running it will result 
> in the following error:
> 
> Modification of a read-only value attempted at 
> /usr/lib/perl5/site_perl/5.8.8/Net/LDAP/Constant.pm line 13.
> Compilation failed in require at 
> /usr/lib/perl5/site_perl/5.8.8/Net/LDAP/Message.pm line 7.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/site_perl/5.8.8/Net/LDAP/Message.pm line 7.
> Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Net/LDAP.pm 
> line 13.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/site_perl/5.8.8/Net/LDAP.pm line 13.
> Compilation failed in require at 
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
>  line 3.
> BEGIN failed--compilation aborted at 
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
>  line 3.
> Compilation failed in require at 
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm 
> line 26.
> BEGIN failed--compilation aborted at 
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm 
> line 26.
> Compilation failed in require at 
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm line 3.
> BEGIN failed--compilation aborted at 
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm line 3.
> Compilation failed in require at /opt/rt4/bin/../lib/RT/Base.pm line 161.
> Compilation failed in require at (eval 71) line 3.
>       ...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
> BEGIN failed--compilation aborted at /opt/rt4/bin/../lib/RT/CurrentUser.pm 
> line 97.
> Compilation failed in require at /opt/rt4/bin/../lib/RT.pm line 480.
> 
> If I remove RT::Authen::ExternalAuth from RT_SiteConfig.pm, rt-crontool runs 
> fine.
> 
> Is this a known issue? Any help to solve this problem? Thanks. :)
> 
> Regards,
> 
> .lzs

Reply via email to