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

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

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