LDAP Node, LDAP search string

Is it possible to use the LDAP node and do LDAP queries like (&(objectClass=inetOrgPerson)(!(HasSomeValue=*))) ?


Hi @mafo :wave: Welcome to the community :tada:

I’m not familiar with LDAP and wouldn’t have an LDAP server set up, so I can’t test this directly - but as long as this is otherwise supported in LDAP and through APIs, it should in theory work. Someone else may jump in here with a more direct answer from experience, but it might be best to test this one yourself quickly and see how you get on :+1:

1 Like

Hey @mafo,

In the Search For field there should be a custom option, This will allow you to define your own search filter.


Hi @Jon ,

I change [search for] from “fixed” to “expression” and used “(&(objectClass=Person)(!(auxOrg=CompanyB)))” instead of only objectclass name and it work great even tho it reported that the expression “is not supported” :slight_smile:
I’m new to N8N so it was not obvious to me that I should/could use “expression”.



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.