Categorygithub.com/kolatat/go-ldappool
modulepackage
0.0.4
Repository: https://github.com/kolatat/go-ldappool.git
Documentation: pkg.go.dev

# README

Connection Pooling for LDAP

This ldappool package provides connection pooling for go-ldap in the same style as Golang's database/sql package. It is designed to be safe for concurrent use by multiple goroutines.

Usage

Installation

go get -u github.com/kolatat/go-ldappool

Connecting

// TODO

Searching

// TODO

Features

  • connecting to multiple servers
  • concurrent use by multiple goroutines
  • support for context.Context (in the pool level but not yet in LDAP) operations
  • server discovery via DNS SRV records (at the pool level, not connection)

Notes, Goals, TODOs

  • very much Active Directory oriented
  • tests
  • preferences towards faster, lower-latency servers
  • AD features not supported by standard LDAP calls
    • password modification

Thanks, sql.DB

In fact, this package is virtually a copy of the database/sql connection pool, with LDAP connections swapped in place of SQL connections and other SQL specifics removed. Many design choices and configuration parameters can be determined by consulting the database/sql documentations.

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author