Skip to content
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

Escaping of LDAPFilter queries #22

Open
zopyx opened this issue Nov 2, 2016 · 1 comment
Open

Escaping of LDAPFilter queries #22

zopyx opened this issue Nov 2, 2016 · 1 comment

Comments

@zopyx
Copy link

zopyx commented Nov 2, 2016

Our customer has a DN containing "ou=Verkabelung, Audio,...". The DN is obtained from a former LDAP search. Using this DN requires an additional escaping of the backslash...is it supposed to escape on the application level or is there some support on the LDAPFilter layer?

@rnixx
Copy link
Member

rnixx commented Nov 2, 2016

There are escape chars defined in https://github.com/bluedynamics/node.ext.ldap/blob/master/src/node/ext/ldap/filter.py#L8 which are used in LDAPDictFilter. You can try using LDAPDictFilter for building your search query.

@zopyx zopyx added the Question label Nov 7, 2016
@rnixx rnixx added this to the 1.0 milestone May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants