Skip to content

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