Registry / auth / go-ldap-ldap

go-ldap-ldap

JSON →
library3.4.13+incompatiblegogounverified

Provides basic LDAP v3 functionality including authentication and directory operations.

go get github.com/go-ldap/ldap
INSTALL
IMPORT
SIG · GO-LDAP-LDAP
G
go-ldap-ldap
authgov3.4.13+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

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

Connects to an LDAP server and performs a bind operation.

package main import ( "fmt" "github.com/go-ldap/ldap/v3" ) func main() { l, err := ldap.DialURL("ldap://localhost:389") if err != nil { panic(err) } defer l.Close() err = l.Bind("cn=admin,dc=example,dc=com", "password") fmt.Println(err) }
Debug
Known issues
breakingVersion 3.x uses a different import path than v2; ensure you use the correct module path.
fix
Use github.com/go-ldap/ldap/v3 for v3.x releases.
affects: >=3.0.0
Upgrade
Version history
3.4.13+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
OpenAI (training)
1
Resources
go-ldap-ldap — go get go-ldap-ldap · libregistry