Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

About Using 2 different LDAP_ACCOUNT_SUFFIX Config #876

Open
krisbai opened this issue Jun 17, 2020 · 1 comment
Open

About Using 2 different LDAP_ACCOUNT_SUFFIX Config #876

krisbai opened this issue Jun 17, 2020 · 1 comment
Labels

Comments

@krisbai
Copy link

krisbai commented Jun 17, 2020

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 krisbai changed the title About LDAP_ACCOUNT_SUFFIX Config About Using 2 different LDAP_ACCOUNT_SUFFIX Config Jun 17, 2020
@stevebauman
Copy link
Member

stevebauman commented Jun 17, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants