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
>>
- 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
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
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
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
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
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;
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) {
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
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
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
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
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
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
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
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.
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
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
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.
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_
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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."
>
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
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
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
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
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-
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
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
--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
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
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
[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
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"
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
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
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
--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
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
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
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
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
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
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
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
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
>
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
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
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!
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
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
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
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
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
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
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
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
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
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
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
'description' => ["aut mailing list"],
> 'mj_approve_passwd' => ["aut.approve"],
> 'mj_submit_policy' => ["restricted"],
> 'mj_subscribe_po
y' => ["restricted"],
'mj_subscribe_policy' => ["closed"],
'mj_restrict_post' => [EMAIL PROTECTED],
'mj_DLMembers' => ["r.mcglue $ main"]
};
.
.
.
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
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
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
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
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
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
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
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
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
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, 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
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
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
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
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
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
>
>
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
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
.
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
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
> '
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
1 - 100 of 136 matches
Mail list logo