Le 2/3/13 11:28 PM, [email protected] a écrit :
>                                 Entry entry = connection.lookup(dn);
>               Attribute at = entry.get("userPassword");
>               Modification mod = new DefaultModification( 
> ModificationOperation.REPLACE_ATTRIBUTE, at);
>
>                      ModifyRequest modRequest = new ModifyRequestImpl();
>                      PasswordPolicy ctrl = new PasswordPolicyImpl();
>                      modRequest.addControl(ctrl);
>                      modRequest.addModification(mod);
>                      ModifyResponse modResponse = 
> connection.modify(modRequest); // exception thrown here..

I can reproduce the error. It seems that the request does not even get
to the server, it's likelly an error while encoding the request.

I'm invstigating it, looks like a bug in the Client API. More to come later.

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 

Reply via email to