Hi Graham,
thanks for your hint. I found it. The correct syntax was
my $mesg1=$backendConn->modify($dn, replace => [$attr, $values]);
The problem was, that $values was iso-8859-1 encoded. After decoding it,
it works.
Thanks again
Oliver
Graham Barr schrieb:
On Apr 13, 2009, at 3:50 PM, O
On Apr 13, 2009, at 3:50 PM, Oliver Dörr wrote:
Hmmm,
that does also not work. $mesg1->error shows "Protocol error " and
$mesg1->code = 2
No hint, in LDAP server log
Hm, it should have worked. can you turn on debug with $backendConn-
>debug(15); just before you call ->modify so we can
Hmmm,
that does also not work. $mesg1->error shows "Protocol error " and
$mesg1->code = 2
No hint, in LDAP server log
Another idea?
Oliver
Steiner, Ross schrieb:
Oliver,
I think the following should work (pass a reference to an array, not an array):
my $mesg1=$backendConn->modify($dn,
Oliver,
I think the following should work (pass a reference to an array, not an array):
my $mesg1=$backendConn->modify($dn,
replace => { $attr, $values }
);
Regards,
Ross
-Original Message-
From: Oliver Dörr [mailto:oli...@do