in reply to perl-LDAP process hangs
Are you sure the bind worked properly? I typically use code like this:
my $bind_msg = $ldap->bind( $bind_dn, %bind_params ); if ( my $bind_code = $bind_msg->code ) { die "Cannot bind:", $bind_msg->error, " (Code: $bind_code)"; }
Otherwise you might try setting a value for debug in the LDAP connection object:
my $ldap = Net::LDAP->new( 'localhost', debug => 8 );
Chris
M-x auto-bs-mode
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl-LDAP process hangs
by Notromda (Pilgrim) on Nov 03, 2002 at 18:29 UTC |