Replies: 1 comment
-
Maybe you could just configure the LDAP filter to match both attributes in your directory. If using AD, this could be: $ldap_filter = "(&(objectClass=user)(|(sAMAccountName={login})(userPrinicipalName={login})))"; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for great work to all who supports this project.
For my case users used to use login word in email format but the system uses short login (without @my.domain.in part)
Is there any option to preprocess login word like next:
if login = [email protected] - truncate it to -> username
if login = username -leave it unchanged - > username
In my understanding, this can be realised by applying some regex to received $login variable before passing it further.
Thanks for any help or idea.
Beta Was this translation helpful? Give feedback.
All reactions