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