Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Suggestion: Replace python-ldap with ldap3 #325

@benf710

Description

@benf710

Problem Description

On Windows, it's very cumbersome to install python-ldap. Their docs mention to use a pre-built binary but even that can be difficult to find for specific python versions and architectures. Pre-built 3rd-party binaries also pose a potential security risk. A better python lib for LDAP has been around for a while, ldap3. It's a pure python library and could be a better alternative. I'd like to work on a PR to resolve this issue but before starting I wanted to look for some feedback from the maintainers, if that's even something you would be receptive to and what the best course of action might be.

Possible Solutions

  • Replacing python-ldap with ldap3 entirely
  • Implementing a separate backend ex django_auth_ldap.backend.LDAP3Backend

Also open to suggestions if you have a better idea for getting around python-ldap pain.

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