Adldap2-Laravel icon indicating copy to clipboard operation
Adldap2-Laravel copied to clipboard

About Using 2 different LDAP_ACCOUNT_SUFFIX Config

Open krisbai opened this issue 5 years ago • 1 comments

Laravel Version: 5.8 Adldap2-Laravel Version: 6.0.9 PHP Version: 7.2.31 LDAP Type: OpenLDAP

Description:

This configuration works fine:

  • LDAP_ACCOUNT_SUFFIX =,cn=xx,ou=people,dc=xxx,dc=xxx

But I have multiple cn, how to configure?

krisbai avatar Jun 17 '20 07:06 krisbai

Hi @krisbai,

You shouldn't need to configure this. What attribute are you using for your ldap_auth.identifiers.ldap.locate_users_by?

Also, if you can I'd heavily suggest using LdapRecord-Laravel instead.

stevebauman avatar Jun 17 '20 13:06 stevebauman