Configure LDAP Question Type

Last modified: July 12, 2022
You are here:
Estimated reading time: 1 min

Setting Information

  • Question Types and Configuration

Detailed Information

Some Settings are available since Version 4.1

To configure LDAP Query as a Question Type, configure your Service and choose “LDAP Query”  as Type.

Please also configure your Values (Show Values), which should be shown, use the LDAP Values here, like displayname, samaccountname.

You can use multiple Values to show, separate them by a “,”.

The “View” Button lets you see the result and test.

Here are a few examples of how a Query can look like.

  • Get all Users from AD: (objectclass=user)
  • Get all Computers from AD: (objectclass=computer)
  • Get all Members from a Group: (memberof=CN=Admins,OU=Service Users,OU=Domain,DC=au2mator,DC=local)
  • Get all disabled Users: (&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=2))
  • Get all enabled Users: (&(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2))
  • Get Organization Unit with special Description: (&(objectClass=organizationalUnit)(description=Location))
  • Get all Users with SMTP: (&(objectclass=user)(Mail=*))

Example using Advanced Placeholder

  • To show Members where the selected Group: (&(objectClass=user)(memberof={LDAP3.DistinguishedName}))
  • So see Groups, where the User is Member of: (&(objectClass=group)(member={LDAP1.DistinguishedName}))
  • Get all Users, where the selected User is a Manger: (&(objectClass=user)(manager={LDAP1.DistinguishedName}))

The distinguishedName of the selected Value will be transferred to the Automation Initialize Data.

And a lot more, feel free

Something More

We offer two ways to display the Result-

Typeahead

Provides a String Property to type and search for an Active Directory Object on the fly.

You can also Copy/Paste a String of SamAccountNames into this Input String. This should look like

Sam1, Sam2, Sam3

Prepopulate Table

Provides a Table with all the possible Values and lets you search for your Active Directory

Tags:
Was this article helpful?
Dislike 0

Title