Fixed by commit https://github.com/xwiki-contrib/ldap/commit/1e79106da2e9360258f37a6ae19304b21bef3ba8