Adldap2/Adldap2-Laravel

Config ldap_auth

PedroGSilvaa opened this issue · 0 comments

  • Laravel Version: 8.83.27
  • Adldap2-Laravel Version: 6.1
  • PHP Version: 7.4.19
  • LDAP Type: OpenLDAP

Description:

Hi everyone. I am not supported to make my project recognize the information in the ldap_auth.php file.
I would like the authentication to be done by sAMAccountName, this for some reason as a default by the CN, however it does not identify this information
'identifiers' => [
'ldap' => [
'locate_users_by' => 'sAMAccountName',
'bind_users_by' => 'distinguishedname',
],
],

Steps To Reproduce: