Commit Graph
9 Commits
Author SHA1 Message Date
b9bf4d1baf Start tls by @shipperizer (#1)
* switch nmcclain/asn1-ber to go-asn1-ber/and1-ber.
This newer package has ben updated with tests, and looks to actually be supported.
It is also is a forked version of nmcclain/asn1-ber, so supports the same API.

* no need to print errors if client disconnects early and unexpectedly

* added in Close method on server to avoid a race condition

* test ssl certs are untrusted, ldapsearch needs to be told to allow untrusted certs

* Extra time.Wait causes the test to fail

* removed singaling with a custom quit chanel

* feat: support StartTLS in server

* lint: fmt and imports

* feat: rename library to be used by glauth

* chore: renamed packages

---------

Co-authored-by: Daniel Barney <daniel@thoughtplot.io>
Co-authored-by: Mark Rushakoff <mark@influxdata.com>
Co-authored-by: shipperizer <alexcabb@gmail.com>
2023-12-10 14:58:23 -08:00
Hiroki Uchiumi 3b3b69a7e9 Fix examples (#6)
* Fix modify.go of examples

* Fix proxy.go of examples

* Fix server.go of examples
2019-10-21 14:07:07 -06:00
ned f4e67fa4cd LDAP server support 2014-11-12 14:52:16 -07:00
Vincent Vanackere 2b58f3ef14 examples : fix import path, add +build ignore directive
These examples are independant (and not part of a single package).
2014-07-24 10:33:06 +02:00
juju2013 f4a7f67426 cosmetic changes 2014-04-18 16:08:45 +02:00
John Weldon 090a5e2ca7 update references 2014-03-21 10:51:35 -07:00
Samuel Stauffer 222854694e Stylistic fixes, update imports, and some format string fixes 2014-03-19 13:57:59 -07:00
Marc Sauter e2ff8b4459 rename 2014-03-19 13:57:59 -07:00
tmfkams e45f834579 refactoring, fixes for go1.2, modify added 2014-03-19 13:57:58 -07:00