You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update LDAP filters to include both username and email address (#24547)
Since the login form label for user_name unconditionally displays
`Username or Email Address` for the `user_name` field, bring matching
LDAP filters to more prominence in the documentation/placeholders.
Signed-off-by: Gary Moon <gary@garymoon.net>
- Example for Microsoft Active Directory (AD): `(&(objectCategory=Person)(memberOf=CN=user-group,OU=example,DC=example,DC=org)(sAMAccountName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))`
107
107
- To substitute more than once, `%[1]s` should be used instead, e.g. when
108
108
matching supplied login name against multiple attributes such as user
@@ -137,11 +137,11 @@ Adds the following fields:
137
137
- Example: `ou=Users,dc=mydomain,dc=com`
138
138
139
139
- User Filter **(required)**
140
-
- An LDAP filter declaring when a user should be allowed to log in. The `%s`
140
+
- An LDAP filter declaring when a user should be allowed to log in. The `%[1]s`
141
141
matching parameter will be substituted with login name given on sign-in
0 commit comments