LDAPS configuration for OAUTH2 mode

Description

Example LDAPS parameters for NSP OAUTH2 mode are shown below.

ldap:

  enabled: true

  servers:

    - type: "AUTHENTICATED"

      name: "Ldap Server 1"

      url: "ldaps://ldap.company.com:636"

      priority: 0

      usernameLdapAttribute: "uid"

      rdnLdapAttribute: "cn"

      uuidLdapAttribue: "uid"

      userObjectClasses: "person,organizationalPerson,user"

      customUserLdapFilter: ""

      searchScope: 2

      security: "SSL"

      timeout: 5000

      userDn: "ou=People,dc=company,dc=com"

      userFilter: ""

      groupDn: "ou=Group,dc=company,dc=com"

      groupNameLdapAttribute: "cn"

      groupsLdapFilter: ""

      groupObjectClasses: "posixGroup"

      groupMembershipLdapAttribute: "memberUid"

      groupMembershipUserLdapAttribute: "cn"

      groupMemberOfLdapAttribute: "memberOf"

      bind:

        dn: "cn=Manager,dc=company,dc=com"

        credential: "password"

      minPoolSize: 0

      maxPoolSize: 10