Get the LDAP Settings

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Returns the details on the LDAP settings authentication.

Since: Artifactory 7.57.1

Security: Requires admin user token authentication

Usage: GET access/api/v1/ldap/settings

Sample Response

response
[
  {
    "key": "ldap1",
    "enabled": true,
    "ldap_url": "ldap://somehost",
    "user_dn_pattern": "uid={0}",
    "search": {
      "search_filter": null,
      "search_base": null,
      "search_sub_tree": false,
      "manager_dn": null,
      "manager_password": null
    },
    "auto_create_user": true,
    "email_attribute": "email",
    "ldap_poisoning_protection": false,
    "allow_user_to_access_profile": false,
    "paging_support_enabled": true
  },
  {
    "key": "ldap2",
    "enabled": true,
    "ldap_url": "ldap://somehost",
    "user_dn_pattern": "uid={0}",
    "search": {
      "search_filter": null,
      "search_base": null,
      "search_sub_tree": false,
      "manager_dn": null,
      "manager_password": null
    },
    "auto_create_user": true,
    "email_attribute": "email",
    "ldap_poisoning_protection": false,
    "allow_user_to_access_profile": false,
    "paging_support_enabled": true
  }
]