You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
gitea/modules/ldap
Joseph Crail 39c068400e Fix spelling errors in comments. 10 years ago
..
_examples Fix test cases 10 years ago
LICENSE
README
bind.go
conn.go
control.go
debug.go Fix spelling errors in comments. 10 years ago
filter.go
filter_test.go Fix test cases 10 years ago
ldap.go
ldap_test.go
modify.go
search.go

README

Basic LDAP v3 functionality for the GO programming language.

Required Librarys:
github.com/johnweldon/asn1-ber

Working:
Connecting to LDAP server
Binding to LDAP server
Searching for entries
Compiling string filters to LDAP filters
Paging Search Results
Modify Requests / Responses

Examples:
search
modify

Tests Implemented:
Filter Compile / Decompile

TODO:
Add Requests / Responses
Delete Requests / Responses
Modify DN Requests / Responses
Compare Requests / Responses
Implement Tests / Benchmarks

This feature is disabled at the moment, because in some cases the "Search Request Done" packet will be handled before the last "Search Request Entry":
Mulitple internal goroutines to handle network traffic
Makes library goroutine safe
Can perform multiple search requests at the same time and return
the results to the proper goroutine. All requests are blocking
requests, so the goroutine does not need special handling