From: Bing Du <du...@mo...> - 2002-10-08 20:56:41
|
% perl -MNet::LDAP -e 'print $Net::LDAP::VERSION,"\n"' 0.251 So I guess we need to get a latest version of Net::LDAP? ============== Net::LDAP=HASH(0x2e250) sending: 0000 29: SEQUENCE { 0002 1: INTEGER = 1 0005 24: [APPLICATION 23] { 0007 22: [CONTEXT 0] 0009 : 31 2E 33 2E 36 2E 31 2E 34 2E 31 2E 31 34 36 36 1.3.6.1.4.1.146 6 0019 : 2E 32 30 30 33 37 __ __ __ __ __ __ __ __ __ __ .20037 001F : } 001F : } Net::LDAP=HASH(0x2e250) received: 0000 12: SEQUENCE { 0002 1: INTEGER = 1 0005 7: [APPLICATION 24] { 0007 1: ENUM = 0 000A 0: STRING = '' 000C 0: STRING = '' 000E : } 000E : } start_tls return code 1-Operations error Net::LDAP=HASH(0x2e250) sending: 0000 86: SEQUENCE { 0002 1: INTEGER = 2 0005 81: [APPLICATION 0] { 0007 1: INTEGER = 3 000A 64: STRING = 'uid=c24b18d4bb4afdf052330678af9a601d, ou=People, dc=tam u, dc=edu' 004C 10: [CONTEXT 0] 004E : 67 79 64 62 30 37 31 31 64 62 __ __ __ __ __ __ gydb0711db 0058 : } 0058 : } Net::LDAP=HASH(0x2e250) received: 0000 3: [UNIVERSAL 22] 0002 : 01 00 04 __ __ __ __ __ __ __ __ __ __ __ __ __ ... 84-decode error 16<=>30 at /usr/local/perl/5.6.1/lib/site_perl/5.6.1/Convert/ASN 1/_decode.pm line 108. ================ Bing Bing Du <bi...@ta..., 979-845-9577> Texas A&M University, CIS, Operating Systems, Unix On Tue, 8 Oct 2002, Chris Ridd wrote: > On 8/10/02 5:50 pm, Bing Du <du...@mo...> wrote: > > The result was: > > ====== > > start_tls return code 1-Operations error > > 84-decode error 16<=>30 at > > /usr/local/perl/5.6.1/lib/site_perl/5.6.1/Convert/ASN > > 1/_decode.pm line 108. > > Interesting. It looks a bit like we're getting unexpected BER back from the > server. Or we're sending the server something bad. Can you set > $ldapcon->debug(12) before calling start_tls and send us the results? > > Alternatively, what version of the LDAP.pm file do you have? > > An error did slip in to start_tls a while ago relating to the message we > were constructing (BER) to send to the server. We fixed it in version 1.32 > of Net::LDAP.pm, and I see Graham's got another start_tls fix in version > 1.34 of the same file. > > Cheers, > > Chris > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > |