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

Attributes not used when search is anonymous #191

Open
mvalois opened this issue Dec 19, 2024 · 0 comments
Open

Attributes not used when search is anonymous #191

mvalois opened this issue Dec 19, 2024 · 0 comments

Comments

@mvalois
Copy link

mvalois commented Dec 19, 2024

We have configured our LDAP module of our Matrix server like this :

modules:
  - module: "ldap_auth_provider.LdapAuthProviderModule"
    config:
      enabled: true
      mode: simple
      uri: 
         - "ldaps://xxx:636"
      validate_cert: true
      base: "ou=users,dc=xxx.internal,dc=local"
      attributes:
        uid: "uid"
        mail: "mail"
        name: "cn"
        
      filter: "(&(|(objectclass=xxx))(|(memberof=cn=user,ou=groups,dc=xxx.internal,dc=local)))"
      group_filter: "(&(|(objectclass=xxx)))"
      allow_empty_password: false

However we observe that uid, mail and cn are not retrieved from the LDAP server, while they are retrieved when we set bind_dn and bind_password.

Is it expected?
Is it possible to do anonymous requests and still retrieve attributes for mapping?

Thank you,

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

No branches or pull requests

1 participant