I have downgraded php and sadly I cannot replicate the described behaviour.
In Settings under "users" I have set "Registration Method" to "private - only admins can register users", then my LDAP user could not log in.
Afterwards I have set it to "public - anyone can register" and LDAP login worked again, I could also see the user in the agent with backend-LDAP, so I must assume that LDAP is configured correctly.
As far as I can get users can NOT auto register via LDAP when registration is set to private.
However, if I log in as a user whilst registration is public and the account gets created in the backend, that user can log in again when registration gets toggled to private, but I need LDAP-users to authenticate even when they only have an LDAP account, not yet an OSTicket account.
Please view attached images to check if my settings are otherwise correct, thanks.
My settings when I want it to be private:
OSticket formal response when a LDAP user tries to first time login with above settings:
LDAP-instance config showing I have client auth enabled:
KevinTheJedi