Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
"LDAP_SYNC_INFO" is not exported by the Net::LDAP::Constant module
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jo...@headweb.com  
View profile  
 More options Feb 11 2009, 11:22 am
Newsgroups: perl.ldap
From: jo...@headweb.com
Date: Wed, 11 Feb 2009 17:22:59 +0100
Local: Wed, Feb 11 2009 11:22 am
Subject: "LDAP_SYNC_INFO" is not exported by the Net::LDAP::Constant module
Hi

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;
   6
   7 use vars qw($VERSION);
   8 use strict;
   9
  10 use Net::LDAP::Constant qw(
  11   LDAP_SYNC_INFO
  12 );
  13
  14 $VERSION = "0.02";
  15
  16 my %Class2ResponseName = (
  17
  18    'Net::LDAP::Intermediate::SyncInfo'      => LDAP_SYNC_INFO,
  19 );

Checking in Constant.pm (which seems to version 0.07) I find this:

485
486 =item LDAP_CONTROL_SYNC_STATE (1.3.6.1.4.1.4203.1.9.1.2)
487
488 =item LDAP_CONTROL_SYNC_DONE (1.3.6.1.4.1.4203.1.9.1.3)
489
490 =item LDAP_SYNC_INFO (1.3.6.1.4.1.4203.1.9.1.4)
491
492 =back
493

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.

Any hints?

I'm not on the list, please make sure my mail is in your reply field!

Thanks
Johan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Graham Barr  
View profile  
 More options Feb 12 2009, 9:55 am
Newsgroups: perl.ldap
From: gb...@pobox.com (Graham Barr)
Date: Thu, 12 Feb 2009 08:55:48 -0600
Local: Thurs, Feb 12 2009 9:55 am
Subject: Re: "LDAP_SYNC_INFO" is not exported by the Net::LDAP::Constant module

On Feb 11, 2009, at 10:22 AM, Johan Ström wrote:

> Hi

> 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)

That is odd

> 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..

What do you get if you run

perl -MNet::LDAP::Constant -le 'BEGIN { print $INC{"Net/LDAP/
Constant.pm"}} use Net::LDAP::Constant "LDAP_SYNC_INFO"'

Graham.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »