Answer the question
In order to leave comments, you need to log in
How to configure ldap_bind (php) to connect to OpenLDAP not by DC, but by username?
In the documentation for ldap_bind() and in the comments, there are examples where the login is specified as "myuser" or "[email protected]" or "domain/myuser"
https://www.php.net/manual/en/function.ldap -bind.php
And I connect only by dn, for example 'cn=myuser,dc=domain,dc=local'.
Tell me, please, where to dig? I can't find anywhere what this setting is called. The examples give the impression that it just works out of the box for everyone.
Possibly in the same series: How do I manage the dc/rnd name pattern in openldap?
Answer the question
In order to leave comments, you need to log in
It says here that only MS AD can do a short login, but OpenLDAP can't
https://stackoverflow.com/questions/50906055/openl...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question