From: Bryan T. <th...@rs...> - 2000-06-20 19:04:37
|
Hi, How do I prevent a non-responsive server from hanging my client? I've tried specifying timelimit => 10 when I invoke the search method but the call just hangs. I am using Net::LDAP from CPAN (G/GB/GBARR/perl-ldap-0.19.tar.gz) under RH linux v6.1, Perl 5.005_03 Here's the debug output produced. > Net::LDAP=HASH(0x81b3438) sending: > > 30 0C 02 01 01 60 07 02 01 02 04 00 80 00 __ __ 0....`........ > > Net::LDAP=HASH(0x81b3438) received: > > 30 0C 02 01 01 61 07 0A 01 00 04 00 04 00 __ __ 0....a........ > > Bind returned: code=0, error= > Net::LDAP=HASH(0x81b3438) sending: > > 30 81 8E 02 01 02 63 81 88 04 0F 6F 3D 4D 6F 74 0.....c....o=Mot > 6F 72 6F 6C 61 2C 63 3D 55 53 0A 01 02 0A 01 02 orola,c=US...... > 02 01 00 02 01 00 01 01 00 A3 2A 04 0D 72 66 63 ..........*..rfc > 38 32 32 4D 61 69 6C 62 6F 78 04 19 42 72 79 61 822Mailbox..Brya > 6E 5F 54 68 61 6C 65 40 65 6D 61 69 6C 2E 6D 6F n_...@em... > 74 2E 63 6F 6D 30 3A 04 03 75 69 64 04 0A 63 6F t.com0:..uid..co > 6D 6D 65 72 63 65 69 64 04 09 67 69 76 65 6E 4E mmerceid..givenN > 61 6D 65 04 07 73 75 72 6E 61 6D 65 04 0D 72 66 ame..surname..rf > 63 38 32 32 4D 61 69 6C 62 6F 78 04 04 6D 61 69 c822Mailbox..mai > 6C __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ l > Thanks, Bryan. -- Bryan Thale Motorola Labs, Networking and Infrastructure Research mailto:th...@rs... |