2023-08-27 10:55:55 +02:00
---
title: ldapConfiguration
slug: /main-concepts/metadata-standard/schemas/configuration/ldapconfiguration
---
# LdapConfiguration
*LDAP Configuration*
## Properties
- **`host` ** *(string)* : LDAP server address without scheme(Example :- localhost).
- **`port` ** *(integer)* : Port of the server.
- **`maxPoolSize` ** *(integer)* : No of connection to create the pool with. Default: `3` .
2025-01-15 17:46:55 +05:30
- **`isFullDn` ** *(boolean)* : If enable need to give full dn to login. Default: `false` .
2023-08-27 10:55:55 +02:00
- **`dnAdminPrincipal` ** *(string)* : Distinguished Admin name with search capabilities.
- **`dnAdminPassword` ** *(string)* : Password for LDAP Admin.
2025-01-15 17:46:55 +05:30
- **`sslEnabled` ** *(boolean)* : LDAPS (secure LDAP) or LDAP. Default: `false` .
2023-08-27 10:55:55 +02:00
- **`userBaseDN` ** *(string)* : User base distinguished name.
2025-01-15 17:46:55 +05:30
- **`groupBaseDN` ** *(string)* : Group base distinguished name.
- **`roleAdminName` ** *(string)* : Admin role name.
- **`allAttributeName` ** *(string)* : All attribute name.
2023-08-27 10:55:55 +02:00
- **`mailAttributeName` ** *(string)* : Email attribute name.
2025-01-15 17:46:55 +05:30
- **`usernameAttributeName` ** *(string)* : User Name attribute name.
- **`groupAttributeName` ** *(string)* : Group Name attribute name.
- **`groupAttributeValue` ** *(string)* : Group attribute value.
- **`groupMemberAttributeName` ** *(string)* : Group Member Name attribute name.
- **`authRolesMapping` ** *(string)* : Json string of roles mapping between LDAP roles and Ranger roles.
- **`authReassignRoles` ** *(array)* : Roles should be reassign every time user login.
- **Items** *(string)*
2023-08-27 10:55:55 +02:00
- **`truststoreFormat` ** *(string)* : Truststore format e.g. PKCS12, JKS.
2025-01-15 17:46:55 +05:30
- **`truststoreConfigType` ** *(string)* : Truststore Type e.g. TrustAll, HostName, JVMDefault, CustomTrustStore. Must be one of: `["TrustAll", "JVMDefault", "HostName", "CustomTrustStore"]` .
- **`trustStoreConfig` **: Truststore Configuration. Refer to *[ldapTrustStoreConfig/truststoreConfig.json](#apTrustStoreConfig/truststoreConfig.json)* .
2023-08-27 10:55:55 +02:00
2025-01-15 17:46:55 +05:30
Documentation file automatically generated at 2025-01-15 09:05:41.923720+00:00.