Dear reader,
I've managed to solve the issue. Thanks for the response/suggestions!
PietÂ
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
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
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
On Apr 20, 2010, at 5:09 PM, piet paaltjens wrote:
> Hi,
> i'm new to Net::LDAP and have difficulty to make Net::LDAP execute an 'add'
> or 'modify'. Can somebody point out what i'm doing wrong?
> This is my code:
> #!d:\perl\bin\perl.exe
>
> use Data::Dumper;
> use Net::LDAP;
>
> use strict;
Hi,
i'm new to Net::LDAP and have difficulty to make Net::LDAP execute an 'add' or
'modify'. Can somebody point out what i'm doing wrong?
This is my code:
#!d:\perl\bin\perl.exe
use Data::Dumper;
use Net::LDAP;
use strict;
my
($attr,$ldap,$mesg,$userToAuthenticate,$passwd,@ocs,@atts,@bju_attrs