Integrator OpenLDAPService Multiple Filters
Posted: Fri Jun 09, 2017 6:35 am
When using the SEARCH command on the OpenLDAPService, is it possible to specify multiple filters?
For example, I can run a command like this and it works (apologies for the ********* people get a little sensitive about this info getting exposed).
The LDAP ActiveDirectory documentation that I have found shows that you can format multiple attribute filters like
where the two filters get "AND'd" together.
Doing so in the above JSMXCMD however returns a "Filter Error". Not only that but the TRACE output seems to show that it gets cut off.
For example, I can run a command like this and it works (apologies for the ********* people get a little sensitive about this info getting exposed).
Code: Select all
#JSMXCMD := "SEARCH DN(OU=*********,OU=*********,OU=*********,DC=*********,DC=com) FILTER(objectClass=user) SCOPE(*SUB) SERVICE_LIST(dn)"
Code: Select all
(&(objectClass=person)(objectClass=user))
Doing so in the above JSMXCMD however returns a "Filter Error". Not only that but the TRACE output seems to show that it gets cut off.
Code: Select all
Process : *COMPONENT
Function : *COMP
Partition : SYS
Job Name : JOB012876
Job User : JRYOUNG
Job Number : 012876
Command : SEARCH DN(OU=*********,OU=********,OU=**********,DC=********,DC=com) SERVICE_LIST(dn) FILTER(&(objectClass=user) ) SCOPE(*SUB) (objectClass=person)
Name : OU=*********,OU=*********,OU=*********,DC=*********,DC=com
Scope : sub
Filter : &(objectClass=user
Create search constraints
Alias dereference : never
Maximum search results : 1000
Search for results
Command : ERROR "Filter Error"