--- title: "search ldap entry()" slug: "ldap-search" updated: 2026-08-13T11:51:23Z published: 2026-08-13T11:51:23Z canonical: "docs.lobstersoftware.com/ldap-search" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # search ldap entry() This function performs an LDAP search and writes the returned attributes of the first found object into a map. Returns *true* on success. ## Parameters | Parameter | Description | | --- | --- | | a | [LDAP (connection)](/v1/docs/en/intro-external-systems-ldap). | | b | BaseDN (see example). | | c | Filter condition (the query/search, see example)*.* | | d | Attributes to be returned (leave empty for all). | | e | Name of the map. | | f | *true* to clear the map before. | | g | Scope of search: *0*=object, *1*=one level, *2*=sub tree. | ## Example | Parameter a | Parameter b | Parameter c | Parameter d | Parameter e | Parameter f | Parameter g | Result | | --- | --- | --- | --- | --- | --- | --- | --- | | openladap | dc=lobster,dc=de | cn=user name | | ldap_attr | true | 0 | true | This stands for Lightweight Directory Access Protocol. It is a protocol for accessing directory services such as Active Directory. It is available in the Lobster Data Platform for user authentication and as an input agent.