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.
Installation
go get -u github.com/kolatat/go-ldappoolConnecting
// TODOSearching
// TODO- 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)
- very much Active Directory oriented
- tests
- preferences towards faster, lower-latency servers
- AD features not supported by standard LDAP calls
- password modification
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.