From: Chris R. <chr...@ma...> - 2002-12-11 19:13:29
|
On 11/12/02 6:49 pm, Eric Stokes <eri...@CS...> wrote: > Ok, thanks for you help, the actual solution is rather strange. > > This does not work > $result = $ldaps -> modify($dn, replace => [unicodePwd => $pass]); > > While this does work > $result = $ldaps -> modify($dn, replace => {unicodePwd => $pass}); > > just a guess, we must be sending a ghost operation when [] are used, > and that is killing the whole transaction. Anyway, thanks again. I think I've seen that before - if you use [...] you get a replace with an empty AttributeTypeAndValues SEQUENCE encoded and sent to the server. It would be a bug if it did that, as that is not legal in LDAP's ASN.1. I'll see if I can verify that and rustle a patch up, but I'm kind of busy ATM. Cheers, Chris |