Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak Microsoft AD search in auth-ldap #213

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gerundt
Copy link

@gerundt gerundt commented Oct 6, 2021

Currently search the auth-ldap plugin with Microsoft Active Directory connections only for login name and display name.

For first name (givenName) and last name (sn) was the wrong attributes used. I also added the mail address (mail) as addional search attribute.

Use the correct attributes for firstname and lastname on Microsoft Active Directory searches. Also search for mail addresses.
@gerundt gerundt changed the title Tweak Microsoft AD search Tweak Microsoft AD search in auth-ldap Oct 8, 2021
@ChrisTG742
Copy link

Some "advanced configuration" option (normally hidden) to directly customize the search-filter-strings would be great here.
I'd think of something like buttons that make textfields visible that contain the whole search-filters:
search: (&(objectClass=inetOrgPerson)(|(uid={q}*)(displayName={q}*)(cn={q}*)))
lookup: (&(objectClass=inetOrgPerson)({attr}={q}))
However, this needs code changes in the admin-GUI, too.

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

Successfully merging this pull request may close these issues.

2 participants