Skip to content

AttributeError: 'module' object has no attribute 'SEARCH_SCOPE_WHOLE_SUBTREE' #7

@jbenner-radham

Description

@jbenner-radham

I'm getting the following error when initializing the ActiveDirectory class:

'module' object has no attribute 'SEARCH_SCOPE_WHOLE_SUBTREE'

After doing some research it appears to be because of that and some other properties being renamed in ldap3==2.0.7. I believe this can be fixed by changing the ldap3 requirement in requirements.txt to ldap3>=0.9.5.2,<2.0.7.

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