-
Notifications
You must be signed in to change notification settings - Fork 126
ldap.dn.dn2str() does not support flags #257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
spaceone
added a commit
to spaceone/python-ldap
that referenced
this issue
Apr 1, 2022
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 could not be used ultimately because the Python counterpart was pure Python and did not pass to `dn2str(3)`. Fix python-ldap#257
spaceone
added a commit
to spaceone/python-ldap
that referenced
this issue
Jun 3, 2025
…ia flags In C `dn2str()` supports `flags` which works by providing one of `LDAP_DN_FORMAT_UFN`, `LDAP_DN_FORMAT_AD_CANONICAL`, `LDAP_DN_FORMAT_DCE`, `LDAP_DN_FORMAT_LDAPV3`. These symbols do exist in Python, but could not be used ultimately because the Python counterpart was pure Python and did not pass to `dn2str(3)`. Fix python-ldap#257
spaceone
added a commit
to spaceone/python-ldap
that referenced
this issue
Jun 4, 2025
…` via flags In C `dn2str()` supports `flags` which works by providing one of `LDAP_DN_FORMAT_UFN`, `LDAP_DN_FORMAT_AD_CANONICAL`, `LDAP_DN_FORMAT_DCE`, `LDAP_DN_FORMAT_LDAPV3`. These symbols do exist in Python, but could not be used ultimately because the Python counterpart was pure Python and did not pass to `dn2str(3)`. Fix python-ldap#257
spaceone
added a commit
to spaceone/python-ldap
that referenced
this issue
Jun 4, 2025
…` via flags In C `dn2str()` supports `flags` which works by providing one of `LDAP_DN_FORMAT_UFN`, `LDAP_DN_FORMAT_AD_CANONICAL`, `LDAP_DN_FORMAT_DCE`, `LDAP_DN_FORMAT_LDAPV3`. These symbols do exist in Python, but could not be used ultimately because the Python counterpart was pure Python and did not pass to `dn2str(3)`. Fix python-ldap#257
spaceone
added a commit
to spaceone/python-ldap
that referenced
this issue
Jun 4, 2025
…` via flags In C `dn2str()` supports `flags` which works by providing one of `LDAP_DN_FORMAT_UFN`, `LDAP_DN_FORMAT_AD_CANONICAL`, `LDAP_DN_FORMAT_DCE`, `LDAP_DN_FORMAT_LDAPV3`. These symbols do exist in Python, but could not be used ultimately because the Python counterpart was pure Python and did not pass to `dn2str(3)`. Fix python-ldap#257
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description:
in C
dn2str()
supportsflags
which works by providingLDAP_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 todn2str(3)
. It'd be great if this would work as in C fordn2str
andstr2dn
.Operating system: FreeBSD 11.2-STABLE
Python version: 3.6.8
python-ldap version: 3.1.0
The text was updated successfully, but these errors were encountered: