Help with Net::LDAP::LDIF

2001-09-17 Thread William Skinner
I could use some assistance with a problem I've not been able to solve. I created a perl script that will add a user to ldap using an ldif file. From the command line it works no problem but if I add it to the end of another working perl script I get errors and it does not work. The script I'm

Re: Help with Net::LDAP::LDIF

2001-09-17 Thread Andrea Holstein
William Skinner wrote: for (@entries){ $res = $c-add($_); warn Error in add for . $_-dn().: error code .$res-code.\n if $res-code(); } print The error message is: .$res-error.\n; $c-unbind(); The error is; Can't call method error on an undefined value at