Regression caused by https://github.com/xwiki-contrib/ldap/commit/dd81958778177f632fd967f85ecf49544be77774