Basic LDAP v3 functionality for the GO programming language. (evacuated from NSA/Microsoft Github)

anonymous 4d4f2accb1 preliminary debian paackage vor 6 Jahren
debian 4d4f2accb1 preliminary debian paackage vor 6 Jahren
.travis.yml 38e4932796 update travis go versions vor 6 Jahren
CONTRIBUTING.md dd9a045c7c Add an initial Contributions Guideline document vor 6 Jahren
LICENSE 0ffb14260b Add attribution for go-ldap authors vor 8 Jahren
Makefile 1de34761a3 .travis.yml: add go 1.8 and 1.9; Makefile: add -cpu vor 7 Jahren
README.md 783af35940 add ModifyDN() - moddn/modrdn (#149) vor 7 Jahren
add.go 3d01c7ea6f fix govet/golint errors vor 8 Jahren
atomic_value.go 565e88aaf5 Fix race conditions with isClosing / closeErr vor 8 Jahren
atomic_value_go13.go 565e88aaf5 Fix race conditions with isClosing / closeErr vor 8 Jahren
bind.go ce5c412baa use ber.DecodePacketErr() vor 6 Jahren
client.go 783af35940 add ModifyDN() - moddn/modrdn (#149) vor 7 Jahren
compare.go ce5c412baa use ber.DecodePacketErr() vor 6 Jahren
conn.go 0ae9f2495c Remove stale references to BSD license (#136) vor 7 Jahren
conn_test.go db4cd3d96b fix typos vor 7 Jahren
control.go ce5c412baa use ber.DecodePacketErr() vor 6 Jahren
control_test.go ce5c412baa use ber.DecodePacketErr() vor 6 Jahren
debug.go db4cd3d96b fix typos vor 7 Jahren
del.go 69cb73b01d Fix control packets being encoded when none exist on bind vor 7 Jahren
dn.go ce5c412baa use ber.DecodePacketErr() vor 6 Jahren
dn_test.go 4d4f2accb1 preliminary debian paackage vor 6 Jahren
doc.go e6cf29f660 Converts the examples to go style examples vor 9 Jahren
error.go bb09d4b178 Require explicit intention for empty password. vor 7 Jahren
error_test.go db4cd3d96b fix typos vor 7 Jahren
example_test.go 4d4f2accb1 preliminary debian paackage vor 6 Jahren
filter.go 0ae9f2495c Remove stale references to BSD license (#136) vor 7 Jahren
filter_test.go 4d4f2accb1 preliminary debian paackage vor 6 Jahren
ldap.go ce5c412baa use ber.DecodePacketErr() vor 6 Jahren
ldap_test.go bb09d4b178 Require explicit intention for empty password. vor 7 Jahren
moddn.go 783af35940 add ModifyDN() - moddn/modrdn (#149) vor 7 Jahren
moddn_test.go 4d4f2accb1 preliminary debian paackage vor 6 Jahren
modify.go 0776dae456 Allow order of changes in ModifyRequest to be specified (#148) vor 7 Jahren
passwdmodify.go ce5c412baa use ber.DecodePacketErr() vor 6 Jahren
search.go ce5c412baa use ber.DecodePacketErr() vor 6 Jahren
search_test.go db4cd3d96b fix typos vor 7 Jahren

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