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

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

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