Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

get users from specific ldap ou

LakshminnSn
Tera Expert

I am trying to get users from a specific OU and i found this Online Test LDAP server having a similar structure so i was trying to connect my PDI to this online test LDAP server - https://www.forumsys.com/2022/05/10/online-ldap-test-server/

 

Iam able to connect to this server and get all user data , but i couldnt filter down the users to specifc OU like scientist,mathematicians etc

I tried - LDAP filters below but none seems to work - Please suggest how to filter data from specifc OUs like this

 

 Filter = uid=*  and RDN - OU=mathematicians

(&(objectClass=person)(memberOf=cn=Mathematicians)) and RDN blank 

(&(objectClass=person)(memberOf=cn=Mathematicians)) and ou=mathematicians

 

Thanks

Lann

 

1 REPLY 1

Lann
Giga Guru

Any thoughts with this please