mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-04 10:30:19 -05:00
eb1075dd4c
* Check if missing deps in vendor This will catch import from other repos. (maybe by auto-import) * Remove github.com/smartystreets unused deps * Remove github.com/boltdb/bolt unused dep * Fetch github.com/go-xorm/core + sync gopkg.in/ldap.v2/ldap.go * Auto-install govendor + reinstall github.com/boltdb/bolt needed by vendor/github.com/blevesearch/bleve/index/store/boltdb * Update go-xorm/xorm to a5cb21 in vendor.json * Use a custom repo for implementing change to bolt dep. * Switching bolt to github.com/go-gitea/bolt * Switching bolt to github.com/go-gitea/bolt (fork version) * change the drone sign |
||
---|---|---|
.. | ||
add.go | ||
bind.go | ||
client.go | ||
compare.go | ||
conn.go | ||
control.go | ||
debug.go | ||
del.go | ||
dn.go | ||
doc.go | ||
error.go | ||
filter.go | ||
ldap.go | ||
LICENSE | ||
Makefile | ||
modify.go | ||
passwdmodify.go | ||
README.md | ||
search.go |
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
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