How to Build a Search Filter in LDAP Query

All, I would like to know how to build a search filter in ldap query in order to search for the users from a particular group for a given DN and OU. Please note that I am making use of LDAP Tools plugin.

Here's the information of the LDAP environment:

Full LDAP Server URL: ldap://myhostname:389
Service Manager Username: CN=Administrator
Service Manager Password: Welcome@123
Base DN: dc=appian
OU: hr (heirarchically falls under dc=appian)
scsExternalSystemKey: ldap.local

And here's how I have tried configuring the search filter in various ways, but I am unable to retrieve any results:

1. ldapsearch(
config:{
scsExternalSystemKey:"ldap.local",
usePerUserCredentials:false,
url:"ldap://myhostname:389",
baseDN: "dc=appian,ou=hr"
},
searchFilter:"(&(ObjectClass=inetOrgPerson)(uid=user.1)(memberof=CN=development,OU=hr,DC=appian))",
attributes:{},
pagingInfo:a!pagingInfo(
startIndex:1,
...

OriginalPostID-214261

OriginalPostID-214261

  Discussion posts and replies are publicly visible

Parents
  • ...ter is configured such as "(&(ObjectClass=inetOrgPerson)(uid=user.1))". So there isn't any problem with integration.
    3. Nothing is being recorded in the logs as the functionality isn't failing technically.
    4. I have made a search through the posts made in the forum earlier on the LDAP, so it would be grateful if the links to earlier posts aren't made.

    Thanks in advance.
Reply
  • ...ter is configured such as "(&(ObjectClass=inetOrgPerson)(uid=user.1))". So there isn't any problem with integration.
    3. Nothing is being recorded in the logs as the functionality isn't failing technically.
    4. I have made a search through the posts made in the forum earlier on the LDAP, so it would be grateful if the links to earlier posts aren't made.

    Thanks in advance.
Children
No Data