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
it can stop the wildcard query at the front. But we are not sure if this setup could against any possible scenarios.
Configuration
connectors:
- type: ldapname: OpenLDAPid: ldapconfig:
# The following configurations seem to work with OpenLDAP:## 1) Plain LDAP, without TLS:host: localhost:389insecureNoSSL: true## 2) LDAPS without certificate validation:#host: localhost:636#insecureNoSSL: false#insecureSkipVerify: true## 3) LDAPS with certificate validation:#host: YOUR-HOSTNAME:636#insecureNoSSL: false#insecureSkipVerify: false#rootCAData: 'CERT'# ...where CERT="$( base64 -w 0 your-cert.crt )"# This would normally be a read-only user.bindDN: cn=admin,dc=example,dc=orgbindPW: adminusernamePrompt: Email AddressuserSearch:
baseDN: ou=People,dc=example,dc=orgfilter: "(objectClass=person)"username: mail# "DN" (case sensitive) is a special attribute name. It indicates that# this value should be taken from the entity's DN not an attribute on# the entity.idAttr: DNemailAttr: mailnameAttr: cngroupSearch:
baseDN: ou=Groups,dc=example,dc=orgfilter: "(objectClass=groupOfNames)"userMatchers:
# A user is a member of a group when their DN matches# the value of a "member" attribute on the group entity.
- userAttr: DNgroupAttr: member# The group name should be the "cn" value.nameAttr: cn
Logs
No response
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Version
v2.38.0
Storage Type
Kubernetes
Installation Type
Official container image
Expected Behavior
account/password with wildcard embedded(eg. account: J*, password: *) are marked as invalid requests.
Actual Behavior
the request would go inside the LDAP server and introduce LDAP injection risks.
Steps To Reproduce
Additional Information
we tested the following patches:
it can stop the wildcard query at the front. But we are not sure if this setup could against any possible scenarios.
Configuration
Logs
No response
The text was updated successfully, but these errors were encountered: