Skip to content
Basic LDAP v3 functionality for the GO programming language.
Go Makefile Shell
Branch: master
Clone or download
jefferai and johnweldon Update go.mod (#241)
I believe that this (plus a new tag) is what is necessary for native go modules support -- right now go modules complains that the version tag is >= v2 but the module doesn't claim to be a version >= v2.
Latest commit 3c7ebc5 Nov 7, 2019
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 Rename asn1 ber dependency. (#243) Nov 7, 2019
CONTRIBUTING.md Add an initial Contributions Guideline document May 15, 2018
LICENSE Add attribution for go-ldap authors Sep 13, 2016
Makefile Fix tests on Go 1.12 (#207) Mar 4, 2019
README.md Update README (#245) Nov 7, 2019
add.go Rename asn1 ber dependency. (#243) Nov 7, 2019
bind.go Rename asn1 ber dependency. (#243) Nov 7, 2019
client.go unified request flow && external binding to LDAP (#232) Oct 22, 2019
compare.go Rename asn1 ber dependency. (#243) Nov 7, 2019
conn.go Rename asn1 ber dependency. (#243) Nov 7, 2019
conn_test.go Rename asn1 ber dependency. (#243) Nov 7, 2019
control.go Rename asn1 ber dependency. (#243) Nov 7, 2019
control_test.go Rename asn1 ber dependency. (#243) Nov 7, 2019
debug.go Rename asn1 ber dependency. (#243) Nov 7, 2019
del.go Rename asn1 ber dependency. (#243) Nov 7, 2019
dn.go Rename asn1 ber dependency. (#243) Nov 7, 2019
dn_test.go Fix unittests pointing to the external package "gopkg.in/ldap.v2" (#176) Jul 3, 2018
doc.go Converts the examples to go style examples Jun 28, 2015
error.go Rename asn1 ber dependency. (#243) Nov 7, 2019
error_test.go Rename asn1 ber dependency. (#243) Nov 7, 2019
example_test.go Fix unittests pointing to the external package "gopkg.in/ldap.v2" (#176) Jul 3, 2018
filter.go Rename asn1 ber dependency. (#243) Nov 7, 2019
filter_test.go Rename asn1 ber dependency. (#243) Nov 7, 2019
go.mod Update go.mod (#241) Nov 7, 2019
go.sum Rename asn1 ber dependency. (#243) Nov 7, 2019
ldap.go Rename asn1 ber dependency. (#243) Nov 7, 2019
ldap_test.go Add ldap.TLSConnectionState() Jan 30, 2019
moddn.go Rename asn1 ber dependency. (#243) Nov 7, 2019
moddn_test.go Fix unittests pointing to the external package "gopkg.in/ldap.v2" (#176) Jul 3, 2018
modify.go Rename asn1 ber dependency. (#243) Nov 7, 2019
passwdmodify.go Rename asn1 ber dependency. (#243) Nov 7, 2019
request.go Rename asn1 ber dependency. (#243) Nov 7, 2019
search.go Rename asn1 ber dependency. (#243) Nov 7, 2019
search_test.go Fix tests on Go 1.12 (#207) Mar 4, 2019

README.md

GoDoc Build Status

Basic LDAP v3 functionality for the GO programming language.

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

You can’t perform that action at this time.