Chris Ridd a écrit :
which is "passwordTooShort". So... the server seems OK and it must be the perl code that's going wrong somewhere. If you single-step into result->control does it look like it is finding and returning the right thing?
Actually, it returns a list of controls, and the code enforce a scalar context...

Changing the code to
my ($response) = $result->control(LDAP_CONTROL_PASSWORDPOLICY);
is enough to fix the issue. And the documentation is correct, I just misread it :(

Having the method named controlS would have been less error-prone but I guess it's a bit late to change it.

Thanks for your help.
--
BOFH excuse #143:

had to use hammer to free stuck disk drive heads.

Reply via email to