HomeAdmin ManualTroubleshooting GuidesBlackbox ADLAD Error on PHP 7.4+

11.13. Blackbox ADLAD Error on PHP 7.4+

When using the adldap library for blackbox authentication with php 7.4+ the adLDAPUsers.php file needs to be updated for compatibility. In custom_code\classes\adLDAPUsers.php find this line:

        for ($i=0; $i <strlen($password); $i++){ $encoded.="{$password{$i}}\000"; }

and change it to:

        for ($i=0; $i <strlen($password); $i++){ $encoded.="{$password[$i]}\000"; }

This page was: Helpful | Not Helpful