Skip to content

Group restriction not working with One-Time Password #167

Open
@fcollonval

Description

@fcollonval

When using OTP, it is not possible to activate the group filter. The reason is the reuse of the authenticated connection to search for the groups:

Reuse of:

conn = self.get_connection(userdn, password)

We solved the problem by creating anonymous connection for querying groups. I don't know if this is a general solution. But if so, I'll be happy to push a PR from our fork.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions