0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:24:55 +01:00
gitea/modules/ldap
..
_examples
bind.go
conn.go
control.go
debug.go
filter.go
filter_test.go
ldap.go
ldap_test.go
LICENSE
modify.go
README
search.go

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