{"id":50332,"library":"go-ldap-ldap","title":"LDAP Client Library","description":"Provides basic LDAP v3 functionality including authentication and directory operations.","status":"active","version":"3.4.13+incompatible","language":"go","source_language":null,"source_url":"https://github.com/go-ldap/ldap","tags":["ldap","authentication","directory","v3"],"install":[{"cmd":"go get github.com/go-ldap/ldap","lang":"bash","label":"Install github.com/go-ldap/ldap"}],"dependencies":[],"imports":[{"symbol":"ldap","correct":"github.com/go-ldap/ldap/v3"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/go-ldap/ldap/v3\"\n)\n\nfunc main() {\n\tl, err := ldap.DialURL(\"ldap://localhost:389\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer l.Close()\n\terr = l.Bind(\"cn=admin,dc=example,dc=com\", \"password\")\n\tfmt.Println(err)\n}","lang":"go","description":"Connects to an LDAP server and performs a bind operation."},"warnings":[{"fix":"Use github.com/go-ldap/ldap/v3 for v3.x releases.","message":"Version 3.x uses a different import path than v2; ensure you use the correct module path.","severity":"breaking","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'authent':10,15 'basic':5 'client':2 'directori':12,16 'function':8 'includ':9 'ldap':1,6,14 'librari':3 'oper':13 'provid':4 'v3':7,17","created_at":"2026-06-15T04:49:12.869533+00:00","updated_at":"2026-06-15T04:49:12.869533+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/go-ldap/ldap","github":"https://github.com/go-ldap/ldap","docs":"https://pkg.go.dev/github.com/go-ldap/ldap#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}