Re: How to replace multiple values of an attribute

2009-04-14 Thread Oliver Dörr
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

Re: How to replace multiple values of an attribute

2009-04-13 Thread Graham Barr
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

Re: How to replace multiple values of an attribute

2009-04-13 Thread Oliver Dörr
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,

RE: How to replace multiple values of an attribute

2009-04-13 Thread Steiner, Ross
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