> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/consts/ldap-operation.md).

# XDM\_CONST.LDAP\_OPERATION

The LDAP operation type.

| Original | Mapped                                                | Description                                                          |
| -------- | ----------------------------------------------------- | -------------------------------------------------------------------- |
| 0        | XDM\_CONST.LDAP\_OPERATION\_BIND\_REQUEST             | A request to bind to the LDAP server.                                |
| 1        | XDM\_CONST.LDAP\_OPERATION\_BIND\_RESPONSE            | A response to a bind request.                                        |
| 2        | XDM\_CONST.LDAP\_OPERATION\_UNBIND\_REQUEST           | A request to unbind from the LDAP server.                            |
| 3        | XDM\_CONST.LDAP\_OPERATION\_SEARCH\_REQUEST           | A request to search the LDAP directory.                              |
| 4        | XDM\_CONST.LDAP\_OPERATION\_SEARCH\_RESULT\_ENTRY     | A search result entry returned in response to a search request.      |
| 5        | XDM\_CONST.LDAP\_OPERATION\_SEARCH\_RESULT\_DONE      | The final result in a search request.                                |
| 6        | XDM\_CONST.LDAP\_OPERATION\_MODIFY\_REQUEST           | A request to modify an LDAP entry.                                   |
| 7        | XDM\_CONST.LDAP\_OPERATION\_MODIFY\_RESPONSE          | A response to a modify request.                                      |
| 8        | XDM\_CONST.LDAP\_OPERATION\_ADD\_REQUEST              | A request to add an LDAP entry.                                      |
| 9        | XDM\_CONST.LDAP\_OPERATION\_ADD\_RESPONSE             | A response to an add request.                                        |
| 10       | XDM\_CONST.LDAP\_OPERATION\_DEL\_REQUEST              | A request to delete an LDAP entry.                                   |
| 11       | XDM\_CONST.LDAP\_OPERATION\_DEL\_RESPONSE             | A response to a delete request.                                      |
| 12       | XDM\_CONST.LDAP\_OPERATION\_MODIFY\_DN\_REQUEST       | A request to modify the distinguished name of an LDAP entry.         |
| 13       | XDM\_CONST.LDAP\_OPERATION\_MODIFY\_DN\_RESPONSE      | A response to a modify distinguished name request.                   |
| 14       | XDM\_CONST.LDAP\_OPERATION\_COMPARE\_REQUEST          | A request to compare an LDAP attribute value with an expected value. |
| 15       | XDM\_CONST.LDAP\_OPERATION\_COMPARE\_RESPONSE         | A response to a compare request.                                     |
| 16       | XDM\_CONST.LDAP\_OPERATION\_ABANDON\_REQUEST          | A request to abandon an LDAP operation.                              |
| 19       | XDM\_CONST.LDAP\_OPERATION\_SEARCH\_RESULT\_REFERENCE | A search result reference returned in response to a search request.  |
| 23       | XDM\_CONST.LDAP\_OPERATION\_EXTENDED\_REQUEST         | A request to perform an LDAP extended operation.                     |
| 24       | XDM\_CONST.LDAP\_OPERATION\_EXTENDED\_RESPONSE        | A response to an extended request.                                   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/consts/ldap-operation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
