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

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

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