From: Brad D. <Bra...@Su...> - 2003-03-26 03:12:43
|
Based on the previous note and the following excerpt from the LDAP.pm perl module, I presume that after the bind, the LDAP socket or associated file handler must be getting dropped before I send a request to it. 652 sub _recvresp { 653 my $ldap = shift; 654 my $what = shift; 655 my $sock = $ldap->socket; 656 my $sel = IO::Select->new($sock); 657 my $ready; 658 659 for( $ready = 1 ; $ready ; $ready = $sel->can_read(0)) { 660 my $pdu; 661 asn_read($sock, $pdu) 662 or return LDAP_OPERATIONS_ERROR; My guess is that the open() function and the asn_read() functions are colliding on the file handler for the LDAP connection socket. Thats just by guess though. What do you think? I sure would like to see the answer because I can't get my data loaded into the directory. Brad On Tue, 2003-03-25 at 15:11, Brad Diggs wrote: > Running with Net::LDAP debug of 12 didn't yield much different than > with 4. However, I ran with perl debugger on and got the following > when I did a Ctrl-c on the hang... > > Convert::ASN1::asn_read(/usr/lib/perl5/site_perl/5.8.0/Convert/ASN1/IO.pm:198): > 198: READ_ERR: > 199: $@ = "I/O Error $! " . CORE::unpack("H*",$_[1]); > > Should I be led to believe by this that the problem may be in the ASN > code? > > Brad -- --------------------------------------------------------------------- _/_/_/ _/ _/ _/ _/ Brad Diggs _/ _/ _/ _/_/ _/ Directory and Identity Architect _/_/_/ _/ _/ _/ _/ _/ Office: 972-992-0002 _/ _/ _/ _/ _/_/ _/_/_/ _/_/_/ _/ _/ Bra...@Su... M I C R O S Y S T E M S --------------------------------------------------------------------- |