GithubHelp home page GithubHelp logo

Comments (1)

glime-ai avatar glime-ai commented on September 24, 2024

Please note this response was created using generative AI leveraging previously available information from the repository. This information may be helpful however it is our strong recommendation that you carefully consider the information before blindly applying it.


To address the issue of Authelia querying the non-existing memberof attribute for groups when using the lldap LDAP implementation, you can modify the LDAP attribute mappings in Authelia's configuration to ensure it does not request attributes that are not supported by your LDAP implementation.

In your current configuration, Authelia is likely using default settings or explicit settings that include the memberof attribute. Since lldap does not recognize this attribute, you need to adjust the LDAP attribute mappings in Authelia to exclude memberof.

Here’s how you can adjust the configuration:

  1. Identify the Attribute Mappings: Check your Authelia configuration for any mappings that include memberof. This could be in the user or group attribute mappings.

  2. Modify the Configuration: Remove or comment out the lines that map or request the memberof attribute. Ensure that the attributes you configure are supported by lldap.

  3. Restart Authelia: After making changes to the configuration, restart Authelia to apply the changes.

Here is an example of how you might adjust the LDAP settings in the Authelia configuration:

authentication_backend:
  ldap:
    address: 'ldap://lldap:3890'
    implementation: 'lldap'
    base_dn: 'dc=example,dc=com'
    user: 'uid=authelia_bind_user,ou=people,dc=example,dc=com'
    attributes:
      username: 'uid'
      mail: 'mail'
      display_name: 'cn'  # Assuming 'cn' is used for display names in your LDAP
      # member_of: 'memberOf'  # Remove or comment out this line if 'memberOf' is not supported

Make sure to adjust the attribute names according to what is supported by lldap and what is required by your Authelia setup.

If you continue to encounter issues or need to customize the behavior further, consider consulting the Authelia documentation or seeking support from the Authelia community or the maintainers of the lldap implementation.

This comment was generated by Glime.

from authelia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.