2015-10-07 20:10:00 +00:00
|
|
|
[![GoDoc](https://godoc.org/gopkg.in/ldap.v1?status.svg)](https://godoc.org/gopkg.in/ldap.v1)
|
|
|
|
[![Build Status](https://travis-ci.org/go-ldap/ldap.svg)](https://travis-ci.org/go-ldap/ldap)
|
2015-06-29 21:50:55 +00:00
|
|
|
|
|
|
|
# Basic LDAP v3 functionality for the GO programming language.
|
|
|
|
|
2015-10-07 20:10:00 +00:00
|
|
|
## Install
|
|
|
|
|
|
|
|
For the latest version use:
|
|
|
|
|
|
|
|
go get gopkg.in/ldap.v2
|
|
|
|
|
|
|
|
Import the latest version with:
|
|
|
|
|
|
|
|
import "gopkg.in/ldap.v2"
|
|
|
|
|
|
|
|
|
|
|
|
## Required Libraries:
|
2015-06-29 21:50:55 +00:00
|
|
|
|
|
|
|
- gopkg.in/asn1-ber.v1
|
|
|
|
|
|
|
|
## Working:
|
|
|
|
|
|
|
|
- Connecting to LDAP server
|
|
|
|
- Binding to LDAP server
|
|
|
|
- Searching for entries
|
|
|
|
- Compiling string filters to LDAP filters
|
|
|
|
- Paging Search Results
|
|
|
|
- Modify Requests / Responses
|
2015-10-07 20:10:00 +00:00
|
|
|
- Add Requests / Responses
|
|
|
|
- Delete Requests / Responses
|
|
|
|
- Better Unicode support
|
2015-06-29 21:50:55 +00:00
|
|
|
|
|
|
|
## Examples:
|
|
|
|
|
|
|
|
- search
|
|
|
|
- modify
|
|
|
|
|
|
|
|
## Tests Implemented:
|
|
|
|
|
|
|
|
- Filter Compile / Decompile
|
|
|
|
|
|
|
|
## TODO:
|
|
|
|
|
2015-10-07 20:10:00 +00:00
|
|
|
- [x] Add Requests / Responses
|
|
|
|
- [x] Delete Requests / Responses
|
|
|
|
- [x] Modify DN Requests / Responses
|
|
|
|
- [ ] Compare Requests / Responses
|
|
|
|
- [ ] Implement Tests / Benchmarks
|
2015-06-29 21:50:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
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
|