Re: Convert::ASN1 error

2014-01-07 Thread Robert Lowe
gt; "distinguishedName=$ROOTDN" > ); > > -Jerome > > > > On Thu, Jan 2, 2014 at 4:58 PM, Robert Lowe wrote: > >> Forwarding per Graham's suggestion... any insight would be greatly >> appreciated!!! >> >> -Robert >>

Re: Convert::ASN1 error

2014-01-07 Thread Jerome Cartagena
- Forwarded message -- > From: Graham Barr > Date: Thu, Jan 2, 2014 at 3:42 PM > Subject: Re: Convert::ASN1 error > To: Robert Lowe > > > Everything looks right to me, but I have not worked with Net::LDAP for > sometime myself. there is a list [email protected] t

Re: Convert::ASN1 error

2014-01-06 Thread Robert Lowe
am Barr > Date: Thu, Jan 2, 2014 at 3:42 PM > Subject: Re: Convert::ASN1 error > To: Robert Lowe > > > Everything looks right to me, but I have not worked with Net::LDAP for > sometime myself. there is a list [email protected] that may be able to help, > Convert::ASN1 has not c

Fwd: Convert::ASN1 error

2014-01-02 Thread Robert Lowe
Forwarding per Graham's suggestion... any insight would be greatly appreciated!!! -Robert -- Forwarded message -- From: Graham Barr Date: Thu, Jan 2, 2014 at 3:42 PM Subject: Re: Convert::ASN1 error To: Robert Lowe Everything looks right to me, but I have not worked wit

Re: I/O Error using Net LDAP

2012-12-25 Thread Peter Marschall
gt; with I/O Error after smooth execution for some time. Following is the > sample Error generated on console. This seems to be a quite old installation of perl-ldap and Perl itself. Never version of perl-ldap (i.e. since 0.40) require Perl 5.8 Can you reproduce the issue with newer version of P

I/O Error using Net LDAP

2012-12-22 Thread Girish Jagdish Khetan
Hi, We have used Net::LDAP in Perl (Version: 5.6.1) to process data from LDAPv3 server on Linux environment. We are using callback (Asynchronous processing) to process the data. At runtime, scripts are failing abruptly with I/O Error after smooth execution for some time. Following is the

Re: Error trying to add attribute to existing class

2012-04-05 Thread Prentice Bisbal
ject. Here's my subroutine: > > sub ldap_add_group2 > { > my $ldap = $_[0]; > my $ldap_base = $_[1]; > my $username = $_[2]; > my $group2 = $_[3]; > my $debug = $_[4]; > > my $entry; > my $mesg; > my $code; > my $error;

Error trying to add attribute to existing class

2012-04-05 Thread Prentice Bisbal
my subroutine: sub ldap_add_group2 { my $ldap = $_[0]; my $ldap_base = $_[1]; my $username = $_[2]; my $group2 = $_[3]; my $debug = $_[4]; my $entry; my $mesg; my $code; my $error; my $group_dn = "$group2,ou=Group,$ldap_base"; if ($debug) {

Re: Capturing LDAP error message

2011-07-19 Thread Chris Ridd
On 19 Jul 2011, at 16:17, Rick Sanders wrote: > I am trying to capture a better error description than I am getting with the > following code: > > use Net::LDAP::Util qw(ldap_error_name ldap_error_text ldap_error_desc); > > $result = $ldap->add( $dn, attr => [ %$a

Capturing LDAP error message

2011-07-19 Thread Rick Sanders
I am trying to capture a better error description than I am getting with the following code: use Net::LDAP::Util qw(ldap_error_name ldap_error_text ldap_error_desc); $result = $ldap->add( $dn, attr => [ %$attrs ] ); if ( $result->code ) { $error = $result->code; $errtxt = lda

Re: perl-ldap-0.4001 and use Net::LDAP qw(:all) produces error

2011-02-07 Thread Graham Barr
On Feb 7, 2011, at 07:30 , harish badrinath wrote: > > I have very little experience using perl, but i do know that things > like use CGI qw(:all) should work. > > Am i missing something here or should i go for an older version of perl-ldap > ?? There is nothing special about :all, it just so h

Re: perl-ldap-0.4001 and use Net::LDAP qw(:all) produces error

2011-02-07 Thread harish badrinath
Sorry just found http://www.mail-archive.com/[email protected]/msg3.html if this message solves this issue please discard this series of mails. Regards, Harish Badri nath -- Forwarded message -- Hello,  I am trying to configure auth_ldap with qpsmtpd. When i restart qpsmtpd

perl-ldap-0.4001 and use Net::LDAP qw(:all) produces error

2011-02-07 Thread harish badrinath
Hello, I am trying to configure auth_ldap with qpsmtpd. When i restart qpsmtpd: root@mail:~/.cpan/build# /etc/init.d/qpsmtpd restart "all" is not defined in %Net::LDAP::Constant::EXPORT_TAGS at /usr/local/share/perl/5.10.1/Net/LDAP.pm line 38 eval Can't continue after import errors at /usr/share

Re: Error on Constants.pm with Perl-LDAP 0.4001

2010-07-21 Thread Clément OUDOT
a problem with latest > release 0.4001 (by the way, the irelease is not published on the > website, only on CPAN). > > The error I get is : > > Lemonldap::NG::Portal::AuthLDAP load error: Modification of a > read-only value attempted at > /usr/local/share/perl/5.10.1/Net/LDAP/Constan

Error on Constants.pm with Perl-LDAP 0.4001

2010-07-21 Thread Clément OUDOT
website, only on CPAN). The error I get is : Lemonldap::NG::Portal::AuthLDAP load error: Modification of a read-only value attempted at /usr/local/share/perl/5.10.1/Net/LDAP/Constant.pm line 13 This was working with Perl-LDAP 0.39, and I think the error is linked to this modification: http

Re: Control::VLV error

2009-09-22 Thread Graham Barr
On Sep 22, 2009, at 1:25 PM, Dieter Kluenter wrote: Graham Barr writes: On Sep 22, 2009, at 11:29 AM, Dieter Kluenter wrote: Graham Barr writes: On Sep 22, 2009, at 4:35 AM, Dieter Kluenter wrote: [...] OK, here it is: 0087 28: SEQUENCE { 0089 23: STRING = '2.16.840.1.

Re: Control::VLV error

2009-09-22 Thread Dieter Kluenter
Graham Barr writes: > On Sep 22, 2009, at 11:29 AM, Dieter Kluenter wrote: > >> Graham Barr writes: >> >>> On Sep 22, 2009, at 4:35 AM, Dieter Kluenter wrote: [...] >> OK, here it is: >> >> 0087 28: SEQUENCE { >> 0089 23: STRING = '2.16.840.1.113730.3.4.9' >> 00A21: BOOL

Re: Control::VLV error

2009-09-22 Thread Graham Barr
On Sep 22, 2009, at 11:29 AM, Dieter Kluenter wrote: Graham Barr writes: On Sep 22, 2009, at 4:35 AM, Dieter Kluenter wrote: Hi, my ldap server is OpenLDAP-2.4.18 with sssvlv overlay configured. Running my perl script, which is in principle based on Net::LDAP::Control::VLV, I get following

Re: Control::VLV error

2009-09-22 Thread Dieter Kluenter
Graham Barr writes: > On Sep 22, 2009, at 4:35 AM, Dieter Kluenter wrote: > >> Hi, >> my ldap server is OpenLDAP-2.4.18 with sssvlv overlay configured. >> Running my perl script, which is in principle based on >> Net::LDAP::Control::VLV, I get following errors: >> >> slapd: >>> get_ctrls: oid="2.

Re: Control::VLV error

2009-09-22 Thread Graham Barr
On Sep 22, 2009, at 4:35 AM, Dieter Kluenter wrote: Hi, my ldap server is OpenLDAP-2.4.18 with sssvlv overlay configured. Running my perl script, which is in principle based on Net::LDAP::Control::VLV, I get following errors: slapd: get_ctrls: oid="2.16.840.1.113730.3.4.9" (critical) <= get_

Control::VLV error

2009-09-22 Thread Dieter Kluenter
Hi, my ldap server is OpenLDAP-2.4.18 with sssvlv overlay configured. Running my perl script, which is in principle based on Net::LDAP::Control::VLV, I get following errors: slapd: > get_ctrls: oid="2.16.840.1.113730.3.4.9" (critical) <= get_ctrls: n=2 rc=2 err="vlv control value is absent" send_l

[PATCH] Avoid 'cookie parsing error' on OpenLDAP 2.3

2008-10-17 Thread Mathieu Parent
Thanks to Richard Boss for spotting this. --- lib/Net/LDAP/Control/SyncRequest.pm |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Net/LDAP/Control/SyncRequest.pm b/lib/Net/LDAP/Control/SyncRequest.pm index 95cd716..d905d7b 100644 --- a/lib/Net/LDAP/Control/SyncReques

Re: decode error 30<=>73 0 8 at Convert/ASN1/_decode.pm line 106.

2008-07-07 Thread Graham Barr
0050 21: [CONTEXT 7] { 00564: STRING = 'o=qa' 005C 13: STRING = 'cn=admin,o=qa' 006B : } 006B : } 006B : } decode error 12 107 at /usr/lib/perl5/vendor_perl/5.8.8/Convert/ASN1/ _decode.pm line 233, line 228. Btw: Is there a more appropriate pl

Re: decode error 30<=>73 0 8 at Convert/ASN1/_decode.pm line 106.

2008-07-07 Thread Daniel Stutz
0 02 01 FF __ __ __ __ __ __ __ __ __ __ .. 0050 21: [CONTEXT 7] { 00564: STRING = 'o=qa' 005C 13: STRING = 'cn=admin,o=qa' 006B : } 006B : } 006B : } decode error 12 107 at /usr/lib/perl5/vendor_perl/5.8.8/Convert/ASN1/_decode.pm line 233,

Re: decode error 30<=>73 0 8 at Convert/ASN1/_decode.pm line 106.

2008-07-04 Thread Graham Barr
On Jul 4, 2008, at 10:18 AM, Graham Barr wrote: On Jul 4, 2008, at 9:12 AM, Daniel Stutz wrote: Graham Barr schrieb: What server are you using ? It's a Novell eDirectory 8.7.X I'm trying to use Novell LDAP Extensions. Well I suspect that Novell have added some non-standard extensions t

Re: decode error 30<=>73 0 8 at Convert/ASN1/_decode.pm line 106.

2008-07-04 Thread Graham Barr
On Jul 4, 2008, at 9:12 AM, Daniel Stutz wrote: Graham Barr schrieb: What server are you using ? It's a Novell eDirectory 8.7.X I'm trying to use Novell LDAP Extensions. Well I suspect that Novell have added some non-standard extensions that clash with standard ones. Even if they did not

Re: decode error 30<=>73 0 8 at Convert/ASN1/_decode.pm line 106.

2008-07-04 Thread Daniel Stutz
Graham Barr schrieb: What server are you using ? It's a Novell eDirectory 8.7.X I'm trying to use Novell LDAP Extensions. Kind regards, Daniel

Re: decode error 30<=>73 0 8 at Convert/ASN1/_decode.pm line 106.

2008-07-04 Thread Graham Barr
On Jul 4, 2008, at 2:18 AM, Daniel Stutz wrote: Here we go: 30 81 83 02 01 03 79 7E 0A 01 00 04 00 04 00 80 0.y~ 1D 32 2E 31 36 2E 38 34 30 2E 31 2E 31 31 33 37 .2.16.840.1.1137 31 39 2E 31 2E 32 37 2E 31 30 30 2E 38 31 81 56 19.1.27.100.81.V 30 84 00 00 00 50 02 01 64 02 01 00 63

Re: decode error 30<=>73 0 8 at Convert/ASN1/_decode.pm line 106.

2008-07-04 Thread Daniel Stutz
Here we go: 30 81 83 02 01 03 79 7E 0A 01 00 04 00 04 00 80 0.y~ 1D 32 2E 31 36 2E 38 34 30 2E 31 2E 31 31 33 37 .2.16.840.1.1137 31 39 2E 31 2E 32 37 2E 31 30 30 2E 38 31 81 56 19.1.27.100.81.V 30 84 00 00 00 50 02 01 64 02 01 00 63 84 00 00 0P..d...c... 00 44 81 04 48 6D E0 AA 8

Re: decode error 30<=>73 0 8 at Convert/ASN1/_decode.pm line 106.

2008-07-03 Thread Chris Ridd
On 3 Jul 2008, at 20:20, Daniel Stutz wrote: Hi all, I am trying to implement an Net::LDAP::Extension and hit the wall, when the first LDAPResponse from the server arrives. ASN1::_decode returns an error, when it is called on that LDAPResponse, which should contain an ExtendedResponse

decode error 30<=>73 0 8 at Convert/ASN1/_decode.pm line 106.

2008-07-03 Thread Daniel Stutz
Hi all, I am trying to implement an Net::LDAP::Extension and hit the wall, when the first LDAPResponse from the server arrives. ASN1::_decode returns an error, when it is called on that LDAPResponse, which should contain an ExtendedResponse. I extended Net::LDAP to write the pdu to a file

Re: :Ldap and successful creation of user despite an "insufficient access" error

2008-05-07 Thread Cyril Cheneson
On Tue, May 6, 2008 at 6:10 PM, Miller, Don C. <[EMAIL PROTECTED]> wrote: > Cyril, do your logs provide any additional insight on the error? Can > you increase the log level to see what may be causing the error? Are > you performing any other operations that would modify th

RE: :Ldap and successful creation of user despite an "insufficient access" error

2008-05-06 Thread Miller, Don C.
Cyril, do your logs provide any additional insight on the error? Can you increase the log level to see what may be causing the error? Are you performing any other operations that would modify the response? Do you create the object and modify a group immediately after? Are there any attributes

Net::Ldap and successful creation of user despite an "insufficient access" error

2008-05-06 Thread Cyril Cheneson
ut when I try to create a user (being binded with "uid=cyril,ou=People,dc=mydomain,dc=com"), I got an "insufficient access" error (50) from Net::LDAP (from $resp->error and $resp->code )but the user is created. Has anyone seen this behavior as well? Should I rely on another

Re: Crypt::X509 / Blessing error

2007-08-31 Thread Jean-Luc Boss
On Thu, 23 Aug 2007 08:28:16 +0200 "Alexander Jung" <[EMAIL PROTECTED]> wrote: Hello, 2007/8/23, Graham Barr <[EMAIL PROTECTED]>: On Aug 22, 2007, at 4:34 AM, Jean-Luc Boss wrote: > $decoded = new Crypt::X509->new( cert => $certificate ); You are calling new on the result of calling new tha

Re: Crypt::X509 / Blessing error

2007-08-22 Thread Alexander Jung
Hello, 2007/8/23, Graham Barr <[EMAIL PROTECTED]>: > On Aug 22, 2007, at 4:34 AM, Jean-Luc Boss wrote: > > $decoded = new Crypt::X509->new( cert => $certificate ); > You are calling new on the result of calling new thanks, I just looked into my code and did noch check his. oh well, looks I'm gett

Re: Crypt::X509 / Blessing error

2007-08-22 Thread Graham Barr
On Aug 22, 2007, at 4:34 AM, Jean-Luc Boss wrote: $decoded = new Crypt::X509->new( cert => $certificate ); You are calling new on the result of calling new take out that first 'new' Graham.

Re: Crypt::X509 / Blessing error

2007-08-22 Thread Alexander Jung
Hello, 2007/8/22, Chris Ridd <[EMAIL PROTECTED]>: > On 22/8/07 10:34, "Jean-Luc Boss" <[EMAIL PROTECTED]> wrote: > > when i try to run this simple Crypt::X509 script, i have this > > error: "Attempt to bless into a reference at > > /opt/perl_32/l

Re: Crypt::X509 / Blessing error

2007-08-22 Thread Chris Ridd
On 22/8/07 10:34, "Jean-Luc Boss" <[EMAIL PROTECTED]> wrote: > Hi, > > when i try to run this simple Crypt::X509 script, i have > this > error: "Attempt to bless into a reference at > /opt/perl_32/lib/site_perl/5.8.8/Crypt/X509.pm line 105." >

Crypt::X509 / Blessing error

2007-08-22 Thread Jean-Luc Boss
Hi, when i try to run this simple Crypt::X509 script, i have this error: "Attempt to bless into a reference at /opt/perl_32/lib/site_perl/5.8.8/Crypt/X509.pm line 105." I want to build a mailer to send alerts to our customer, if they have to renew their certificates, the ldap ext

Re: Error 83 trying to use BigInt with Net::LDAP replace

2007-06-29 Thread Chris Ridd
e.g. after 15 digits, etc.) the Update fails. > > So, I created a variable with Math::BigInt, and passed that variable to > the ldap replace, only to receive the following error: > The modify Returncode is 83 > C encountered an error while encoding the request packet that > wo

Error 83 trying to use BigInt with Net::LDAP replace

2007-06-29 Thread Mark . Herzfeld
that variable to the ldap replace, only to receive the following error: The modify Returncode is 83 C encountered an error while encoding the request packet that would have been sent to the server I have looked on CPAN and can not find mention of not being able to update an attribute field that

Re: error in decode.pm

2007-04-23 Thread Alan Madill
Hi, At 3:00 am this morning the answer came to me, it has been just over a year since we set the server up. It was an expired TLS/SSL certificate. Thanks, Chris Ridd wrote: > On 22/4/07 10:51, "Alan Madill" <[EMAIL PROTECTED]> wrote: > > >> smbldap-tools in a working environment suddenly una

Re: error in decode.pm

2007-04-23 Thread Graham Barr
On Sun, April 22, 2007 4:51 pm, Alan Madill wrote: > smbldap-tools in a working environment suddenly unable to add or modify > users. Please check that you have the latest version of Convert::ASN1 installed perl -MConvert::ASN1\ 99 Should fail with a line like Convert::ASN1 version 99 required-

Re: error in decode.pm

2007-04-23 Thread Chris Ridd
On 22/4/07 10:51, "Alan Madill" <[EMAIL PROTECTED]> wrote: > smbldap-tools in a working environment suddenly unable to add or modify > users. > > smbldap-useradd kenh > Use of uninitialized value in die at > /usr/lib/perl5/vendor_perl/5.8.6/Convert/ASN1/_decode.pm line 111. > > Perl debug trace

error in decode.pm

2007-04-23 Thread Alan Madill
smbldap-tools in a working environment suddenly unable to add or modify users. smbldap-useradd kenh Use of uninitialized value in die at /usr/lib/perl5/vendor_perl/5.8.6/Convert/ASN1/_decode.pm line 111. Perl debug trace [EMAIL PROTECTED] ~]# perl -d /usr/sbin/smbldap-useradd jimh Loading

Re: Net::LDAP Error Messages

2007-03-21 Thread Quanah Gibson-Mount
--On Wednesday, March 21, 2007 9:16 AM -0400 [EMAIL PROTECTED] wrote: Hello everyone, I received the error message below while running my script which utilizes Net::LDAP. Could anyone explain what the error means and is there a way to make the message a little more understandable, such as re

Re: Net::LDAP Error Messages

2007-03-21 Thread Graham Barr
On Wed, March 21, 2007 8:16 am, [EMAIL PROTECTED] wrote: > Hello everyone, > > I received the error message below while running my script which utilizes > Net::LDAP. > Could anyone explain what the error means and is there a way to make the > message a little more understa

Net::LDAP Error Messages

2007-03-21 Thread CZachary
Hello everyone, I received the error message below while running my script which utilizes Net::LDAP. Could anyone explain what the error means and is there a way to make the message a little more understandable, such as re-wording the error message? Thanks Error code: "19" Err

Re: LDAP Error

2007-02-12 Thread Shannon Eric Peevey
[EMAIL PROTECTED] wrote: > Hello all, > > I 've created a form which submits data into LDAP, but I am getting an > error message returned. Could anyone give more detail on its meaning? > > Here is the error message: > > "Unrecognized version number or inc

LDAP Error

2007-02-12 Thread CZachary
Hello all, I 've created a form which submits data into LDAP, but I am getting an error message returned. Could anyone give more detail on its meaning? Here is the error message: "Unrecognized version number or incorrect PDU structure"

_decode.pm error

2006-04-13 Thread REGADE Sébastien Ext ROSI/DPS
Hi,   I have a problem when i'm using ldap over SSL (ldaps).   When i try to do a big request, this error is returned :   decode error 00<=>30 0 8  at C:/Perl/site/lib/Convert/ASN1/_decode.pm line 107, line 5.   In debug mode i receive that :   Net::LDAPS=HASH(0x1d9fcb0) rec

Re: ERROR 89

2006-03-27 Thread Jim Summers
Chris Ridd wrote: On 24/3/06 10:56, Quanah Gibson-Mount <[EMAIL PROTECTED]> wrote: --On Friday, March 24, 2006 8:59 AM -0600 Jim Summers <[EMAIL PROTECTED]> wrote: Hello List, I am re-writing some old scripts to take advantage of perl-ldap. I was working with a script to modify info and i

Re: ERROR 89

2006-03-24 Thread Chris Ridd
On 24/3/06 10:56, Quanah Gibson-Mount <[EMAIL PROTECTED]> wrote: > > > --On Friday, March 24, 2006 8:59 AM -0600 Jim Summers > <[EMAIL PROTECTED]> wrote: > >> Hello List, >> >> I am re-writing some old scripts to take advantage of perl-ldap. I was >> working with a script to modify info and

Re: ERROR 89

2006-03-24 Thread Quanah Gibson-Mount
--On Friday, March 24, 2006 8:59 AM -0600 Jim Summers <[EMAIL PROTECTED]> wrote: Hello List, I am re-writing some old scripts to take advantage of perl-ldap. I was working with a script to modify info and it seemed to be working fine. I wanted to modify the value of the "loginShell" attr

ERROR 89

2006-03-24 Thread Jim Summers
Hello List, I am re-writing some old scripts to take advantage of perl-ldap. I was working with a script to modify info and it seemed to be working fine. I wanted to modify the value of the "loginShell" attribute for an account. It works perfectly for one entry. Then I tested on a second

Re: 'decode error 16<=>30' on $mesg->code && die $mesg->error;

2006-03-10 Thread Christian Sengstock
smbldap-tools' (using > > the Net::LDAP lib) aren't working anymore but they worked perfectly > > before. I can't tell you what was changed as the error ocurred the > > first time. > > > > I found the method where the errror occurs and attached the Net::Lda

Re: 'decode error 16<=>30' on $mesg->code && die $mesg->error;

2006-03-10 Thread Chris Ridd
but they worked perfectly > before. I can't tell you what was changed as the error ocurred the > first time. > > I found the method where the errror occurs and attached the Net::Ldap > debug out and the relevant parts of the source. > > It happens in: > > $mesg

Help.... Net::LDAP error 84 (decode error) ..

2006-03-09 Thread invasyon
For almost 1 year my script who queries a lotus notes LDAP server worked without any problem but since 3 days ago it stoped working.. Im not aware of any changes made on the Lotus Notes LDAP side.. here is a snippet of the $ldap-debug(3) --- 3D 44 49 53 2F 4F 55 3D 4D 54 59 2F 4F 3D 43 46 =DIS

'decode error 16<=>30' on $mesg->code && die $mesg->error;

2006-03-07 Thread csengstock
Hi list, a while ago i installed the smbldap-tools 0.8.5 on a 'SUSE LINUX Enterprise Server 9 (x86_64)' system. Now the 'smbldap-tools' (using the Net::LDAP lib) aren't working anymore but they worked perfectly before. I can't tell you what was changed as the error oc

Re: TLS confidentiality required error

2006-03-02 Thread Mike Jackson
ory as expected. My simple perl script however fails with "TLS confidentiality required error". The script is as follows: #!/usr/bin/perl -w use Net::LDAP; $ldap = Net::LDAP->new( 'localhost' ) or die "$@"; $mesg = $ldap->start_tls( verify => 'none&#x

TLS confidentiality required error

2006-03-02 Thread Hans Holt
My simple perl script however fails with "TLS confidentiality required error". The script is as follows: #!/usr/bin/perl -w use Net::LDAP; $ldap = Net::LDAP->new( 'localhost' ) or die "$@"; $mesg = $ldap->start_tls( verify => 'none', ); $mesg->c

Re: Net::LDAP & LDAP Decoding Error

2006-02-03 Thread Peter Marschall
Hi, done as requested ;-) Peter On Tuesday, 31. January 2006 20:58, Graham Barr wrote: > On Tue, January 31, 2006 12:23 pm, Chris Ridd wrote: > > On 29/1/06 6:08, Peter Marschall <[EMAIL PROTECTED]> wrote: > >> The patch given above fixes this case, but I do not know if it is the > >> correct >

Re: Net::LDAP & LDAP Decoding Error

2006-02-01 Thread René Pfeiffer
On Jan 31, 2006 at 1823 +, Chris Ridd appeared and said: > On 29/1/06 6:08, Peter Marschall <[EMAIL PROTECTED]> wrote: > > > The patch given above fixes this case, but I do not know if it is the > > correct > > one for all other cases. > > I don't like it very much: it changes ASN1.pm to fix

Re: Net::LDAP & LDAP Decoding Error

2006-01-31 Thread Graham Barr
On Tue, January 31, 2006 12:23 pm, Chris Ridd wrote: > On 29/1/06 6:08, Peter Marschall <[EMAIL PROTECTED]> wrote: > >> The patch given above fixes this case, but I do not know if it is the >> correct >> one for all other cases. >> I don't like it very much: it changes ASN1.pm to fix a problem that

Re: Net::LDAP & LDAP Decoding Error

2006-01-31 Thread Chris Ridd
On 29/1/06 6:08, Peter Marschall <[EMAIL PROTECTED]> wrote: > The patch given above fixes this case, but I do not know if it is the correct > one for all other cases. > I don't like it very much: it changes ASN1.pm to fix a problem that arises in > ASN1/Debug.pm. I don't understand the internals

Re: Net::LDAP & LDAP Decoding Error

2006-01-29 Thread René Pfeiffer
Re! On Jan 29, 2006 at 1908 +0100, Peter Marschall appeared and said: > [...] > 1) the error goes away if "use encoding 'utf8'" is not used. > 2) the error disappears also if debug(3) is used [i.e. only asn_hexdump() > is used to display debug information and

Re: Net::LDAP & LDAP Decoding Error

2006-01-29 Thread René Pfeiffer
On Jan 29, 2006 at 1744 +, Chris Ridd appeared and said: > > Can you send us the actual raw bytes that Convert::ASN1's trying to decode? Here is the dump I got. I changed to the original OpenLDAP server, so you have different DNs. I did the query with the string "(uid=rene.pfeiffer)": Net::L

Re: Net::LDAP & LDAP Decoding Error

2006-01-29 Thread Chris Ridd
d, and the exact perl >>> version. >> >> The version of LDAP.pm is 0.32. I have attached the output of 'perl -V' >> to this mail. >> [...] > > I did some more testing, because I thought this error to be peculiar to > the server's AMD64 architecture

Re: Net::LDAP & LDAP Decoding Error

2006-01-29 Thread René Pfeiffer
have attached the output of 'perl -V' > to this mail. > [...] I did some more testing, because I thought this error to be peculiar to the server's AMD64 architecture. I get the same LDAP_DECODING_ERROR on x86 and with OpenLDAP 2.2.x in addition to 2.3.x. I also tried the Perl 5.8

Re: Net::LDAP & LDAP Decoding Error

2006-01-23 Thread René Pfeiffer
On Jan 21, 2006 at 1818 +, Chris Ridd appeared and said: > [...] > Actually, the version of LDAP.pm itself would be good, and the exact perl > version. The version of LDAP.pm is 0.32. I have attached the output of 'perl -V' to this mail. > There used to be some problems with perl mangling th

Re: Net::LDAP & LDAP Decoding Error

2006-01-21 Thread Chris Ridd
OpenLDAP server is compiled from source. >> >> The code snippet above looks correct with only one omission: >> you do not test if the Net::LDAP::Filter object was correctly created. > > That's something I forgot, because I didn't expect the filter > preparation to

Re: Net::LDAP & LDAP Decoding Error

2006-01-21 Thread René Pfeiffer
ith only one omission: > you do not test if the Net::LDAP::Filter object was correctly created. That's something I forgot, because I didn't expect the filter preparation to create an error. I will fix that in the scripts. > Unfortunately you do not tell what version of perl-ldap you use

Re: Net::LDAP hangs and then throws a "do_ypcall: clnt_call: RPC: Timed out" error

2006-01-20 Thread Peter Marschall
ver until I > terminate the script. > > When passed a value resulting from a previous process, LDAP search hangs. > No error no exception, it just hangs. > After a long time, I get a > "do_ypcall: clnt_call: RPC: Timed out" > error. This is not a problem aof perl-ldap b

Re: Net::LDAP & LDAP Decoding Error

2006-01-20 Thread Peter Marschall
nt and the OpenLDAP server returns the > resulting attributes. I double checked this with ldapsearch on the > command line and with the tethereal sniffer by observing the TCP > connection. However the resulting error code I get in the script is > LDAP_DECODING_ERROR. I have no idea what I

Net::LDAP & LDAP Decoding Error

2006-01-18 Thread René Pfeiffer
he OpenLDAP server sit on the same host, so I talk to localhost via TCP and OpenLDAP V3. TLS is not used. The bind works, the login works, the query is sent and the OpenLDAP server returns the resulting attributes. I double checked this with ldapsearch on the command line and with the tethere

Net::LDAP hangs and then throws a "do_ypcall: clnt_call: RPC: Timed out" error

2006-01-10 Thread Jean-Francois.Larocque
ne it works fine. It's driving me mental, can anyone tell me where I'm going wrong? I see it bind ok, then there's nothing else on the ldap server until I terminate the script. When passed a value resulting from a previous process, LDAP search hangs. No error no exception, it just

Re: invalid dn error

2005-11-10 Thread Chris Ridd
'description' => ["aut mailing list"], > 'mj_approve_passwd' => ["aut.approve"], > 'mj_submit_policy' => ["restricted"], > 'mj_subscribe_po

invalid dn error

2005-11-10 Thread Ronan
y' => ["restricted"], 'mj_subscribe_policy' => ["closed"], 'mj_restrict_post' => [EMAIL PROTECTED], 'mj_DLMembers' => ["r.mcglue $ main"] }; . . .

RE: Error when using Page Control

2005-11-02 Thread Giuoco, Aaron
Shazbot! Yes, that was my problem. It returns a list. Thanks. AG > -Original Message- > From: Justin B. Alcorn [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 02, 2005 12:37 PM > To: Giuoco, Aaron; [email protected] > Subject: Re: Error when using Page Contr

Re: Error when using Page Control

2005-11-02 Thread Justin B. Alcorn
ave messed something up. The error I get when I run the program is: Can't call method "cookie" without a package or object reference at ldap_test.pl line 95, line 461. Here is the code around that line number: 76. while(1) { 77. my $searchRes = $ldap->search( @searc

Error when using Page Control

2005-11-02 Thread Giuoco, Aaron
Hi all, I am trying to use the page control on a >1000 record LDAP query. I pretty much just copied the code from the examples and modified it for my use, but I might have messed something up. The error I get when I run the program is: Can't call method "cookie" without a

Error 82 Local error

2005-06-17 Thread reinhard . e . voglmaier
first thing I am trying to do is to bind with the LDAP server. First of all I wrote a simple Perl Script which connects to the LDAP server with DN and password and quits. This script works fine. Then I put the code into the Perl Backend. The script reports now error 82 - local error. This error is

Re: ldapadd error

2005-05-03 Thread Jonathan Steinert
I don't know the answer to your problem, but I must suggest that you ask on the openldap help channels. According to what you listed you aren't even using perl, and this is the perl-ldap list. http://www.openldap.org/lists/ --Jonathan Steinert Chard wrote: Hi All, I have seen thi

ldapadd error

2005-05-03 Thread Chard
Hi All, I have seen this error on numerous forums, and everyone seems to say to add a newline before the dn line, but I have a new line there... Anyway, the error is this: [EMAIL PROTECTED] openldap]# ldapadd -x -D "cn=Manager,dc=chard,dc=id,dc=au" \ -W -f /etc/openldap/chard.id.au.l

Re: getting this error while ninding

2005-03-23 Thread Alexandre Jousset
Hello, Nikhil wrote: [snip] $mesg = $ldap->bind("cn=Users,Dc=example,dc=com"); print "$mesg\n"; die "Bind failed: ", $mesg->error_name,"\n", if $mesg->code; foreach $entry ($mesg->entries) { $entry->dump; } ^D You only bind to the server, which means authentication. I think you want to

getting this error while ninding

2005-03-23 Thread Nikhil
gt;dump; } ^D Net::LDAP=HASH(0x1c37684) Net::LDAP::Bind=HASH(0x3a5fc20) Can't locate object method "entries" via package "Net::LDAP::Bind" (perhaps you forgot to load "Net::LDAP::Bind"?) at - line 8, line 283. > I am getting this error while running this script, can anybody please help me and tell me where I am going wrong ? thanks, Nikhil

Search filter error returned by MS Active Directory

2005-03-09 Thread Didier Rossi
earch filter below in perl Net::LDAP towards Active Directory fails. Search filter : (&(useraccountcontrol:1.2.840.113556.1.4.803:=2)(objectCategory=person)( objectclass=user)) Error message : decode error 135 159 at /usr/opt/perl5/lib/site_perl/5.6.0/Convert/ASN1/_decode.pm line 235 ... By a

Trial run test failed with Error "IO::Socket::INET: connect: A socket operation is already in progress."

2005-01-06 Thread Chu, Charles
ext if ( $attrName =~ /;binary$/ ); # get the attribute value (pointer) using the # attribute name as the hash my $attrVal = @$valref{$attrName}; print "\t $attrName: @$attrVal \n"; } print "#---\n"; # End of that DN } # # end of

Re: decode error

2004-10-29 Thread Roman Baumer
re, here is the output: Net::LDAP=HASH(0xd89ab8) received: 30 0C 02 01 3E 65 07 0A 01 00 04 00 04 00 __ __ 0...>e Net::LDAP=HASH(0xd89ab8) sending: 30 05 02 01 3F 42 00 __ __ __ __ __ __ __ __ __ 0...?B. [Fri Oct 29 15:42:50 2004] [error] decode error 7b<=>30 at /usr/local/home/ds

Re: decode error

2004-10-29 Thread Christopher A Bongaarts
In the immortal words of Roman Baumer: > [Fri Oct 29 15:42:50 2004] [error] decode error 7b<=>30 at > /usr/local/home/dsamgr/mdstools/lib/site_perl/5.6.1/Convert/ASN1/_decode.pm > line 110, line 283 > > This only happens when I try to fetch a userCertificate. And th

Re: decode error

2004-10-29 Thread Graham Barr
is. Sure, here is the output: Net::LDAP=HASH(0xd89ab8) received: 30 0C 02 01 3E 65 07 0A 01 00 04 00 04 00 __ __ 0...>e Net::LDAP=HASH(0xd89ab8) sending: 30 05 02 01 3F 42 00 __ __ __ __ __ __ __ __ __ 0...?B. [Fri Oct 29 15:42:50 2004] [error] decode error 7b<=>30 at /usr/local/hom

Re: decode error

2004-10-29 Thread Paul Connolly
Are you perchance using an old build of Perl (perhaps one that came with Critical Path Directory Server)? If so, I suggest using a more up to date build of Perl. Roman Baumer wrote: Chris Ridd wrote: On 29/10/04 1:22 pm, Roman Baumer <[EMAIL PROTECTED]> wrote: Hi, I got this decode erro

Re: decode error

2004-10-29 Thread Roman Baumer
Chris Ridd wrote: On 29/10/04 1:22 pm, Roman Baumer <[EMAIL PROTECTED]> wrote: Hi, I got this decode error in a search using Net::LDAP: decode error 7b<=>30 at /usr/local/home/dsamgr/mdstools/lib/site_perl/5.6.1/Convert/ASN1/_decode.pm line 110, line 283 How do I track down to pr

Re: decode error

2004-10-29 Thread Chris Ridd
On 29/10/04 1:22 pm, Roman Baumer <[EMAIL PROTECTED]> wrote: > Hi, > > I got this decode error in a search using Net::LDAP: > > decode error 7b<=>30 at > /usr/local/home/dsamgr/mdstools/lib/site_perl/5.6.1/Convert/ASN1/_decode.pm > line 110, line 283 > >

decode error

2004-10-29 Thread Roman Baumer
Hi, I got this decode error in a search using Net::LDAP: decode error 7b<=>30 at /usr/local/home/dsamgr/mdstools/lib/site_perl/5.6.1/Convert/ASN1/_decode.pm line 110, line 283 How do I track down to problem to the source? This happens while parsing the result from the server. That what I

decode error

2004-10-29 Thread Roman Baumer
Hi, I got this decode error in a search using Net::LDAP: decode error 7b<=>30 at /usr/local/home/dsamgr/mdstools/lib/site_perl/5.6.1/Convert/ASN1/_decode.pm line 110, line 283 How do I track down to problem to the source? This happens while parsing the result from the server. That what I

RE: Error when deleting fields...

2004-08-18 Thread Paul Connolly
. Paul. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 1/17/8859 11:00:00 PM To: [EMAIL PROTECTED] Subject: Error when deleting fields... Bonjour, I have a question, and if someone has the answer, it could help me a lot. I'm using Net::ldap to make scripts

Re: Error when deleting fields...

2004-08-18 Thread Chris Ridd
scripts, I add and delete fields to > existing objects in order to keep them up to date with other data sources. > And when I attempt to delete some attributes, I raise an > OBJECT_CLASS_VIOLATION error. > I understand that this error occurs when I'm trying to delete the > '

Error when deleting fields...

2004-08-18 Thread ymlaine
data sources. And when I attempt to delete some attributes, I raise an OBJECT_CLASS_VIOLATION error. I understand that this error occurs when I'm trying to delete the 'objectClass', or the 'cn' fields (just for the test), but I don't see what's the problem with the &#x

  1   2   >