mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-08-26 06:28:03 +02:00
55 lines
1.3 KiB
Markdown
55 lines
1.3 KiB
Markdown
|
[![GoDoc](https://godoc.org/gopkg.in/ldap.v3?status.svg)](https://godoc.org/gopkg.in/ldap.v3)
|
||
|
[![Build Status](https://travis-ci.org/go-ldap/ldap.svg)](https://travis-ci.org/go-ldap/ldap)
|
||
|
|
||
|
# Basic LDAP v3 functionality for the GO programming language.
|
||
|
|
||
|
## Install
|
||
|
|
||
|
For the latest version use:
|
||
|
|
||
|
go get gopkg.in/ldap.v3
|
||
|
|
||
|
Import the latest version with:
|
||
|
|
||
|
import "gopkg.in/ldap.v3"
|
||
|
|
||
|
## 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
|