Basic LDAP v3 functionality for the GO programming language.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 3 commits ahead, 47 commits behind go-ldap:master.
hspak Merge remote-tracking branch 'upstream/master'
* upstream/master:
  fix dn parsing without attr or value (go-ldap#119)
  fix unbalanced parenthesis panic when compiling filter
Latest commit 9258419 Jul 28, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.githooks Add makefile, run gofmt/golint/govet in travis Jul 1, 2016
.gitignore Converts the examples to go style examples Jun 28, 2015
.travis.yml Limit vet/lint checks to 1.6+ Dec 1, 2016
LICENSE Add attribution for go-ldap authors Sep 13, 2016
Makefile Use the race detector in tests Feb 2, 2017
README.md Moddn (#1) May 5, 2017
add.go fix govet/golint errors Jul 1, 2016
atomic_value.go Fix race conditions with isClosing / closeErr Feb 2, 2017
atomic_value_go13.go Fix race conditions with isClosing / closeErr Feb 2, 2017
bind.go fix govet/golint errors Jul 1, 2016
client.go Moddn (#1) May 5, 2017
compare.go Use Message Context (go-ldap#69) Jun 29, 2016
conn.go Fix race conditions with isClosing / closeErr Feb 2, 2017
conn_test.go Fix go1.5 race in test Feb 2, 2017
control.go fix shadow vet warnings Sep 13, 2016
control_test.go fix panic in addControlDescriptions() Sep 24, 2016
debug.go gopkg.in move Oct 16, 2014
del.go fix govet/golint errors Jul 1, 2016
dn.go fix dn parsing without attr or value (go-ldap#119) Jun 27, 2017
dn_test.go Merge remote-tracking branch 'upstream/master' Jul 28, 2017
doc.go Converts the examples to go style examples Jun 28, 2015
error.go Fix typo in error.go file Feb 27, 2017
error_test.go Improve handling of connection read errors (go-ldap#66) Jun 14, 2016
example_test.go Update references to ldap for tests May 5, 2017
filter.go fix unbalanced parenthesis panic when compiling filter Jun 26, 2017
filter_test.go Merge remote-tracking branch 'upstream/master' Jul 28, 2017
ldap.go fix panic in addControlDescriptions() Sep 24, 2016
ldap_test.go Update references to ldap for tests May 5, 2017
moddn.go Moddn (#1) May 5, 2017
moddn_test.go Update references to ldap for tests May 5, 2017
modify.go fix govet/golint errors Jul 1, 2016
passwdmodify.go fix govet/golint errors Jul 1, 2016
search.go fix govet/golint errors Jul 1, 2016
search_test.go added constructors for Entry and EntryAttribute Nov 4, 2015

README.md

GoDoc Build Status

Basic LDAP v3 functionality for the GO programming language.

Install

For the latest version use:

go get gopkg.in/ldap.v2

Import the latest version with:

import "gopkg.in/ldap.v2"

Required Libraries:

  • gopkg.in/asn1-ber.v1

Features:

  • Connecting to LDAP server (non-TLS, TLS, STARTTLS)
  • Binding to LDAP server
  • Searching for entries
  • Filter Compile / Decompile
  • Paging Search Results
  • Modify Requests / Responses
  • Add Requests / Responses
  • Delete Requests / Responses
  • Modify DN Requests / Responses

Examples:

  • search
  • modify

Contributing:

Bug reports and pull requests are welcome!

Before submitting a pull request, please make sure tests and verification scripts pass:

make all

To set up a pre-push hook to run the tests and verify scripts before pushing:

ln -s ../../.githooks/pre-push .git/hooks/pre-push

The Go gopher was designed by Renee French. (http://reneefrench.blogspot.com/) The design is licensed under the Creative Commons 3.0 Attributions license. Read this article for more details: http://blog.golang.org/gopher