Bug#553188: libnet-ldap-perl: handling of multiple spaces in canonical_dn (Net::LDAP::Util)
christian mock
cm at coretec.at
Thu Oct 29 12:47:55 UTC 2009
Package: libnet-ldap-perl
Version: 1:0.36-1
Severity: normal
Net::LDAP::Util::canonical_dn fails to compact multiple consecutive
space characters into one. The OpenLDAP server does this compacting,
thus this leads to problems when you compare two DNs.
Reproduce thusly:
use Net::LDAP::Util qw(canonical_dn);
my $dn1 = "cn=tester\\, karl,ou=test,dc=example,dc=com";
my $dn2 = "cn=tester\\, karl,ou=test,dc=example,dc=com";
print canonical_dn($dn1), "\n";
print canonical_dn($dn2), "\n";
regards,
cm.
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libnet-ldap-perl depends on:
ii libconvert-asn1-perl 0.21-1 Perl module for encoding and decod
ii libwww-perl 5.813-1 WWW client/server library for Perl
ii perl [libmime-base64-per 5.10.0-19lenny2 Larry Wall's Practical Extraction
libnet-ldap-perl recommends no packages.
Versions of packages libnet-ldap-perl suggests:
ii libauthen-sasl-perl 2.12-1 Authen::SASL - SASL Authentication
ii libio-socket-ssl-perl 1.16-1+lenny1 Perl module implementing object or
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii libxml-parser-perl 2.36-1.1+b1 Perl module for parsing XML files
ii libxml-sax-perl 0.16+dfsg-3 Perl module for using and building
ii perl [libdigest-md5-perl 5.10.0-19lenny2 Larry Wall's Practical Extraction
-- no debconf information
More information about the pkg-perl-maintainers
mailing list