On Jan 21, 2006 at 1818 +0000, 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 the encoded bytes > (thinking they were UTF-8 or something) and since Debian has a reputation > for being "old" :-) but stable... Well, yes, I know, but before I enter dependency hell and use fresh meat from CPAN, I'd like to know why I have to do that. Besides there's always the possibility to file a bug to the Debian package maintainers. I also ran the script with debug enabled, as Peter suggested. The output is also attached. The server where the script is executed is configure with LANG=en_GB.UTF-8, so you guess pointing to UTF-8 may be right. Best regards, René. -- )\._.,--....,'``. Let GNU/Linux work for you while you take a nap. /, _.. \ _\ (`._ ,. R. Pfeiffer <lynx at luchs.at> + http://web.luchs.at/ `._.-(,_..'--(,_..'`-.;.' - System administration + Consulting + Teaching -
Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=linux, osvers=2.4.27-ti1211, archname=i386-linux-thread-multi uname='linux kosh 2.4.27-ti1211 #1 sun sep 19 18:17:45 est 2004 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.7 -Dsitearch=/usr/local/lib/perl/5.8.7 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.7 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.3.6 (Debian 1:3.3.6-6)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so.5.8.7 gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Jun 8 2005 23:43:21 @INC: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .
Net::LDAP=HASH(0x830cdbc) sending: 30 70 02 01 02 63 6B 04 24 6F 75 3D 75 73 65 72 0p...ck.$ou=user 73 2C 6F 75 3D 61 63 63 6F 75 6E 74 73 2C 64 63 s,ou=accounts,dc 3D 67 72 75 65 6E 65 2C 64 63 3D 61 74 0A 01 02 =pentex,dc=at... 0A 01 02 02 01 0A 02 01 0F 01 01 00 A3 14 04 03 ................ 75 69 64 04 0D 72 65 6E 65 2E 70 66 65 69 66 66 uid..rene.pfeiff 65 72 30 1E 04 03 75 69 64 04 02 63 6E 04 04 6D er0...uid..cn..m 61 69 6C 04 0D 61 63 63 6F 75 6E 74 53 74 61 74 ail..accountStat 75 73 __ __ __ __ __ __ __ __ __ __ __ __ __ __ us 0000 112: SEQUENCE { 0002 1: INTEGER = 2 0005 107: [APPLICATION 3] { 0007 36: STRING = 'ou=users,ou=accounts,dc=pentex,dc=at' 002D 1: ENUM = 2 0030 1: ENUM = 2 0033 1: INTEGER = 10 0036 1: INTEGER = 15 0039 1: BOOLEAN = FALSE 003C 20: [PRIVATE 29] { 003E 3: STRING = 'uid' 0043 13: STRING = 'rene.pfeiffer' 0052 : } 0052 30: SEQUENCE { 0054 3: STRING = 'uid' 0059 2: STRING = 'cn' 005D 4: STRING = 'mail' 0063 13: STRING = 'accountStatus' 0072 : } 0072 : } 0072 : } Net::LDAP=HASH(0x86c7410) received: 30 81 AD 02 01 02 64 81 A7 04 36 75 69 64 3D 72 0.....d...6uid=r 65 6E 65 2E 70 66 65 69 66 66 65 72 2C 6F 75 3D ene.pfeiffer,ou= 75 73 65 72 73 2C 6F 75 3D 61 63 63 6F 75 6E 74 users,ou=account 73 2C 64 63 3D 67 72 75 65 6E 65 2C 64 63 3D 61 s,dc=pentex,dc=a 74 30 6D 30 18 04 0D 61 63 63 6F 75 6E 74 53 74 t0m0...accountSt 61 74 75 73 31 07 04 05 61 6B 74 69 76 30 21 04 atus1...aktiv0!. 04 6D 61 69 6C 31 19 04 17 72 65 6E 65 2E 70 66 .mail1...rene.pf 65 69 66 66 65 72 40 67 72 75 65 6E 65 2E 61 74 [EMAIL PROTECTED] 30 16 04 03 75 69 64 31 0F 04 0D 72 65 6E 65 2E 0...uid1...rene. 70 66 65 69 66 66 65 72 30 16 04 02 63 6E 31 10 pfeiffer0...cn1. 04 0E 52 65 6E C3 A9 20 50 66 65 69 66 66 65 72 ..Ren.. Pfeiffer Use of uninitialized value in addition (+) at /usr/share/perl5/Convert/ASN1/Debug.pm line 88, <DATA> line 283. Use of uninitialized value in printf at /usr/share/perl5/Convert/ASN1/Debug.pm line 94, <DATA> line 283. 0000 0: SEQUENCE { Use of uninitialized value in numeric lt (<) at /usr/share/perl5/Convert/ASN1/Debug.pm line 103, <DATA> line 283. Use of uninitialized value in addition (+) at /usr/share/perl5/Convert/ASN1/Debug.pm line 107, <DATA> line 283. 0001 : } Use of uninitialized value in addition (+) at /usr/share/perl5/Convert/ASN1/Debug.pm line 88, <DATA> line 283. Use of uninitialized value in printf at /usr/share/perl5/Convert/ASN1/Debug.pm line 94, <DATA> line 283. 0001 0: [PRIVATE 29] { Use of uninitialized value in numeric lt (<) at /usr/share/perl5/Convert/ASN1/Debug.pm line 103, <DATA> line 283. Use of uninitialized value in addition (+) at /usr/share/perl5/Convert/ASN1/Debug.pm line 107, <DATA> line 283. 0002 : } 0002 2: [PRIVATE 29] { 0004 2: BOOLEAN = TRUE Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 0008 : } 0008 4: [PRIVATE 29] { 000A 117: [UNIVERSAL 22] { 000C 100: [APPLICATION 9] { 000E 114: [UNIVERSAL 29] { 0010 110: [APPLICATION 5] { 0012 46: [APPLICATION 5] { 0014 102: [APPLICATION 16] { 0016 105: [APPLICATION 5] { 0018 102: [APPLICATION 6] { 001A 114: [APPLICATION 5] { 001C 111: [UNIVERSAL 12] { 001E 61: [APPLICATION 21] { 0020 115: [APPLICATION 21] { 0022 114: [APPLICATION 5] { 0024 44: [APPLICATION 19] { 0026 117: [APPLICATION 15] { 0028 97: [UNIVERSAL 29] { 002A 99: [APPLICATION 3] { 002C 117: [APPLICATION 15] { 002E 116: [APPLICATION 14] { 0030 44: [APPLICATION 19] { 0032 99: [APPLICATION 4] { 0034 103: [UNIVERSAL 29] { 0036 117: [APPLICATION 18] { 0038 110: [APPLICATION 5] { 003A 44: [APPLICATION 5] { 003C 99: [APPLICATION 4] { 003E 97: [UNIVERSAL 29] { 0040 48: [APPLICATION 20] { 0042 48: [APPLICATION 13] { 0044 4: [UNIVERSAL 24] 0046 : 0D 61 63 63 __ __ __ __ __ __ __ __ __ __ __ __ .acc 004A 117: [APPLICATION 15] { 004C 116: [APPLICATION 14] { 004E 116: [APPLICATION 19] 0050 : 61 74 75 73 31 07 04 05 61 6B 74 69 76 30 21 04 atus1...aktiv0!. 0060 : 04 6D 61 69 6C 31 19 04 17 72 65 6E 65 2E 70 66 .mail1...rene.pf 0070 : 65 69 66 66 65 72 40 67 72 75 65 6E 65 2E 61 74 [EMAIL PROTECTED] 0080 : 30 16 04 03 75 69 64 31 0F 04 0D 72 65 6E 65 2E 0...uid1...rene. 0090 : 70 66 65 69 66 66 65 72 30 16 04 02 63 6E 31 10 pfeiffer0...cn1. 00A0 : 04 0E 52 65 6E C3 A9 20 50 66 65 69 66 66 65 72 ..Ren.. Pfeiffer Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Bad sequence length at /usr/share/perl5/Convert/ASN1/Debug.pm line 79, <DATA> line 283. 00C4 : } Net::LDAP=HASH(0x830cdbc) sending: 30 06 02 01 03 50 01 02 __ __ __ __ __ __ __ __ 0....P.. 0000 6: SEQUENCE { 0002 1: INTEGER = 3 0005 1: [APPLICATION 16] 0007 : 02 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ . 0008 :
pgpFCFtlRvFaF.pgp
Description: PGP signature