Skip to content

ldap.dn.dn2str() does not support flags #257

Open
@michael-o

Description

@michael-o

Issue description:
in C dn2str() supports flags which works by providing LDAP_DN_FORMAT_UFN, LDAP_DN_FORMAT_AD_CANONICAL. These symbols do exist in Python, but cannot be used ultimately because the Python counterpart is pure Python and does not pass to dn2str(3). It'd be great if this would work as in C for dn2str and str2dn.

Operating system: FreeBSD 11.2-STABLE

Python version: 3.6.8

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