Define an LDAP query As part of creating or modifying a discovery pattern, you can use the LDAP query operation to query an LDAP directory. Before you begin Navigate to the relevant pattern step: On the pattern form, select the relevant identification section for Discovery.Alternatively, select the relevant identification or connection section for Service Mapping. Select the relevant pattern step or click to add a step. Basic knowledge of programming is desirable. Role required: pd_admin Procedure Select LDAP query from the Operation list. Fill in the fields, as appropriate. Field Description Base DN Specify the point from where the LDAP server searches for users. Host Specify the name of the server that hosts the LDAP server. Port Specify the port name. Query Specify the query parameters. Scope Specify the query scope from the list: Sub Tree: the object and all descendants. Object: the object only. One Level: the object and one level below. In the Variable Table, click Add and define the table name and column name to hold the query result. For multiple results, click Add for each additional column that is needed. If in Debug mode, test the step by clicking Test and checking that the operation brings the result you expected. Example This operation is used in This item Hierarchy Application > Exchange Server Component CI Type ExchangeBackEndServer Pattern ExchangeBackEndServer On Windows Pattern Section Storage connectivity Step number and Name 2. Query ldap - msExchStorageGroup.msExchESEParamSystemPath To find storage devices connected to the Exchange BackEnd Server, you can use the following LDAP query: "(objectclass=msExchStorageGroup).” The operation result is stored in a variable table with the following fields: msExchESEParamSystemPath and msExchStorageGroupFiles1v. You can use variables to specify Base DN that indicates where to begin the search, as well as the host name and port. What to do next Continue editing the pattern by adding a new step and defining its operation or Finalize the pattern.