Skip to content

LDAP exceptions have inconsistent string format #304

Open
@droideck

Description

@droideck

Issue description:
The LDAP exception processing is hard to approach because of its string inconsistency.

Examples of the returned exception:

NO_SUCH_OBJECT('No object exists given the filter criteria demo')
INVALID_SYNTAX({'desc': 'Invalid syntax', 'info': 'autoMemberScope: value #0 invalid per syntax\n'})

Operating system:
Fedora 30

Python version:
3.7.4

python-ldap version:
3.1.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions