After a clean installation of osticket and an additional installation of the LDAP plugin, I waited for a while (probably several hours, I didn't measure it) for my session to expire, and after that, I couldn't log in.
Even though I had previously logged in as both the LDAP user and the local administrator.