Unable to ADD or MODIFY entries using NET::LDAP (2)

2010-04-22 Thread piet paaltjens
Dear reader, I still am unable to add or modify attributes of an DN entry. I've followed the suggestion from Graham Barr to check the result(error) code after execution of the ADD and MODIFY as well as change the DN used.Although no checks for errors were performed in the original script (which

Re: Unable to ADD or MODIFY entries using NET::LDAP (2)

2010-04-22 Thread Prentice Bisbal
Piet, Two things: 1. Write a smaller "toy" program to test the function you having problems with. This will help you find out if your calling the function correctly without getting distracted by all the other code and it will help us read through your code. You're providing way too much code to u

Re: Unable to ADD or MODIFY entries using NET::LDAP (2)

2010-04-22 Thread Prentice Bisbal
I just noticed this is your code: #--- # Programmer note: # # "$mesg->error" DOESN'T work!!! I think that's another sign you are doing something wrong. I use $error = $mesg->error(); and $error = $mesg->error; throughout my code. The parentheses are irrelevant. I'm using both Perl-LDAP 0.33

Solved: Unable to ADD or MODIFY entries using NET::LDAP

2010-04-22 Thread piet paaltjens
Dear reader, I've managed to solve the issue. Thanks for the response/suggestions! PietÂ