Commit Graph

5 Commits

Author SHA1 Message Date
Simon Beck f05e41c9aa Improve password hash handling
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
This adds support for more hash algorithms. Also a stored password will
be updated to SSHA512 upon a successful bind. It will also automatically
hash a cleartext password if the `userpassword` field is modified with
a cleartext one.

Hashes supported:
* SSHA
* SSHA256
* SSHA512
2022-02-10 20:51:01 +01:00
Quentin 2707dd77c5
Use vendored goldap 2021-09-16 13:46:18 +02:00
MrArmonius a98556d5c1 Test End-to-end V1.0, testing Bottin's behavior
Tests wrote in golang without framework Testing on the Bottin's behavior

Tests made:
- crated random Users and Group - LDAP ADD
- check the match between Consul's data and Test's data- LDAP
  Search
- modify attributes and check them -
  LDAP Modify
2021-07-19 18:56:47 +02:00
Maximilien Richer a6faceb559
Import upstream lor00x/goldap reposity 2020-02-02 14:47:16 +01:00
Maximilien Richer 0274ab0038
Implements go modules
Following errors compiling with go 1.13
See https://blog.golang.org/migrating-to-go-modules for details.
2020-02-02 12:10:02 +01:00