Skip Menu |

This queue is for tickets about the perl-ldap CPAN distribution.

Report information
The Basics
Id: 2507
Status: resolved
Priority: 0/
Queue: perl-ldap

People
Owner: Nobody in particular
Requestors: gbarr [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Tue, 6 May 2003 10:19:42 +0100
From: Graham Barr <gbarr [...] pobox.com>
To: bug-perl-ldap [...] rt.cpan.org
Subject: [Fwd] LDAP.pm patch
----- Forwarded message from Clif Harden <charden@pobox.com> ----- Date: Sun, 23 Feb 2003 23:07:02 -0600 To: perl-ldap mail list <perl-ldap-dev@lists.sourceforge.net> From: Clif Harden <charden@pobox.com> Subject: LDAP.pm patch Graham, While working with the LDIF.pm and LDAP.pm I discovered a problem with LDAP.pm in the subroutine modify when using an Entry object. The variable arg was not pointing to the correct hash when checking for changes. Attached is a patch file that will correct this problem with a miminum of changes. Regards, Clif Harden charden@pobox.com *** LDAP.pm Mon Jan 27 12:23:06 2003 --- tmp/LDAP.pm Sun Feb 23 22:45:53 2003 *************** *** 374,379 **** --- 374,381 ---- my $dn = $arg->{dn} or return _error($ldap, $mesg, LDAP_PARAM_ERROR,"No DN specified"); + $arg = $dn if $dn->isa('Net::LDAP::Entry'); + my @ops; my $opcode; my $op; Show quoted text
----- End forwarded message -----