After component sharing, the back-end component - the operation package ldap based on LDAP V3 protocol implemented by Golang

After component sharing, the back-end component - the operation package ldap based on LDAP V3 protocol implemented by Golang

background

Recently, we are exploring various common components and tools on the front-end, back-end, and system side, and reorganize some of the common components to form a standardized component topic, which will later include some commonly used components in various languages. Welcome everyone to continue to pay attention.

Component Basic Information

content

In this section, we share an operation package ldap based on LDAP V3 protocol implemented in Golang .

feature:

  • Connect to LDAP server (non-TLS, TLS, STARTTLS)
  • Bind to LDAP server
  • search term
  • filter compilation/decompilation
  • Paginated search results
  • Modify request/response
  • Add request/response
  • delete request/response
  • Modify DN request/response

Specific usage:
1. Installation

go get github.com/go-ldap/ldap/v3

The library implements the following specifications:

For specific usage, please refer to the README

This article declares:
88x31.png
Creative Commons License
This work is licensed by CN Hua Shao under the Creative Commons Attribution-Noncommercial 4.0 International License.

Guess you like

Origin blog.csdn.net/csde12/article/details/125654748