I just upgraded my FreeBSD 7 box from perl 5.8.8 to perl 5.8.9, and
also updated all my perl modules. Among those where p5-perl-ldap,
which got upgraded from 0.36 (I think) to 0.39.
After this I got problems with my RT installation, which uses LDAP for
authentication. The problem I got was this (in rt.log):
[warning]: "LDAP_SYNC_INFO" is not exported by the Net::LDAP::Constant
module at /usr/local/lib/perl5/site_perl/5.8.9/Net/LDAP/
Intermediate.pm line 10 (/usr/local/lib/perl5/5.8.9/Carp.pm:46)
Taking a look at /usr/local/lib/perl5/site_perl/5.8.9/Net/LDAP/
Intermediate.pm gave this:
5 package Net::LDAP::Intermediate;
7 use vars qw($VERSION);
8 use strict;
10 use Net::LDAP::Constant qw(
14 $VERSION = "0.02";
16 my %Class2ResponseName = (
18 'Net::LDAP::Intermediate::SyncInfo' => LDAP_SYNC_INFO,
Checking in Constant.pm (which seems to version 0.07) I find this:
486 =item LDAP_CONTROL_SYNC_STATE (22.214.171.124.4.1.4126.96.36.199.2)
488 =item LDAP_CONTROL_SYNC_DONE (188.8.131.52.4.1.4184.108.40.206.3)
490 =item LDAP_SYNC_INFO (220.127.116.11.4.1.418.104.22.168.4)
So its there all right.. But why does it bork in Intermediate.pm? I've
cleared out all old 5.8.8 libs, first with the perl-after-upgrade
script but then also reinstalled all modules just in case.. And then
removed the (empty) 5.8.8 dirs under lib/perl5/ and lib/perl5/
site_perl. So there should be no conflicting files there at least..
Anyway, I've seem to have "fixed" the problem for now, by commenting
out line 11 and 18 in Intermediate.pm, and it seems to work now. But
I'd rather get a real fix for this.
I'm not on the list, please make sure my mail is in your reply field!