# LDAP

## LDAP Overview <a href="#ldap-overview" id="ldap-overview"></a>

* Lightweight Directory Access Protocol (LDAP) is a client/server protocol used to access and manage directory information. This allows user to read/edit directories over IP networks and runs directly over TCP/IP using simple string formats for data transfer.
* In Spinnaker, a standard ‘bind’ approach is used for LDAP authentication.

## Configure LDAP using Halyard <a href="#configure-ldap-using-halyard" id="configure-ldap-using-halyard"></a>

* Execute the below command to enable LDAP on Spinnaker.

  ```
      hal config security authn ldap enable
  ```
* Execute the below command to edit and add the all the LDAP related parameters Spinnaker settings

  ```
      hal config security authn ldap edit --user-dn-pattern="uid={0},uid=users" --
      url=ldaps://ldap.my-organization.com:10636/dc=my-organization,dc=com
  ```

## Next Steps <a href="#next-steps" id="next-steps"></a>

* Now that LDAP authentication is configured on Spinnaker, proceed further with the authorization.


---

# Agent Instructions: 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:

```
GET https://docs.opsmx.com/opsmx-context-graph-and-data-fabric/additional-resources/previous-releases/isd-3.12/orchestration-module-opsmx-enterprise-for-spinnaker-oes/additional-feature-configuration/secure-spinnaker/authentication/methods/ldap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
