On 31 Aug 2004, at 16:50, Scott George wrote:
I run the following script:


$mesg = $ldap->bind ( dn => $user,
                     password =>$passwd);
if ( $mesg->code()) {
   die ("error:", $mesg->code(),"\n");
}



I am getting the output:

"error:1" from the script

If you used ->error instead of ->code in your die, the you would have seen


  error:Server encountered an internal error

I run "strace" on the script and I see "Resource temporarily
unavailable" in the trace output at the point of failure.

Are you 100% sure the packet contents are identical. Add $ldap->debug(1); after ->new and run on both systems. Compare the output on stderr.


Graham.



Reply via email to