aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix wrong handling of multi value attributesSimon Beck2022-02-141-2/+3
| | | | | | | | | | | While ldapsearch doesn't seem to mind, apps like keycloak seem to have issues with adding multiple attributes with different values. While the resulting ldif in ldapsearch is indistinguishable there seems to be a slight different on the protocol level. If adding multiple attributes with the same name and different values, keycloak will only see the last entry. But adding a single attribute a slice of values is seems to handle it correctly.
* Improve password hash handlingSimon Beck2022-02-105-58/+94
| | | | | | | | | | | | 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
* Disable reconnect in tests + some cosmetic changesbug/message-idQuentin Dufour2021-09-164-30/+12
|
* Patch ASN.1 BER encoding of integers and length + unit testsQuentin Dufour2021-09-163-10/+160
|
* Encoding errors must be loggedQuentin Dufour2021-09-161-1/+4
|
* Use vendored goldapQuentin Dufour2021-09-1611-14/+10
|
* Vendor goldapQuentin Dufour2021-09-1674-0/+11818
|
* Correct the function GenerateNameCorrect_Test_GenerateNameMrArmonius2021-07-261-2/+4
| | | | | | | | | The problem was the encode in `name += string(alphabet[])` It takes only 1 byte but the characters like 'รจ','@' are encoding on several bytes (1 to 4 bytes). The better solution was to create a slice of string, like this we don't have problem about take only one byte instead of 2,3 or 4 bytes.
* Bottin's Test V2.0 with Framework TestingMrArmonius2021-07-1917-490/+840
| | | | | | | | V2 the test end-to-end, Tests made similar to V1.0, Add the possibility to pararellize the tests, Create an environnement for easy integration of news test,
* Script in ash to launch our test V1.0 (end-to-end) in a Consul'sMrArmonius2021-07-194-6/+23
| | | | container
* Test End-to-end V1.0, testing Bottin's behaviorMrArmonius2021-07-1912-12/+558
| | | | | | | | | | | 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
* Add drone signatureAlex Auvolat2021-04-051-0/+6
|
* Fix logo in readmeAlex Auvolat2021-04-051-1/+1
|
* Drone CI badge for branch mainAlex Auvolat2021-04-051-1/+1
|
* Update bottin version in hcl exampleHEADmasterAlex Auvolat2021-03-091-1/+1
|
* Refactor & add case normalization logic to putAttributesAlex Auvolat2021-03-094-46/+87
|
* RefactoringAlex Auvolat2021-03-094-82/+87
|
* Use consul's stale reads by defaultAlex Auvolat2021-03-094-22/+42
|
* Add bottin CI badgeAlex Auvolat2021-02-081-0/+2
|
* test add drone CIAlex Auvolat2021-02-081-0/+7
|
* Style changesAlex Auvolat2020-11-133-16/+16
|
* Fix horrible, horrible bugAlex Auvolat2020-11-131-1/+1
|
* Fix image link in README.mdAlex Auvolat2020-04-041-1/+1
|
* Add use case paragraph in READMEAlex Auvolat2020-03-111-0/+7
|
* Mention Guichet in READMEAlex Auvolat2020-02-281-0/+3
|
* Hopefully, fix most case-sensitivity issuesAlex Auvolat2020-02-155-100/+162
| | | | | | | | | | | | - DNs are always used in canonical form: lowercase, no spaces. This is how they are internally handled and stored in paths and fields such as member and memberof - Attribute names now can have any combination of lower/uppercase and stuff should work - When modifying an attribute with a name that hase a different lower/upper combination than the previously stored value, keep the previous attribute name - Trim spaces from values and do not store empty values
* Update docker image versionAlex Auvolat2020-02-141-1/+1
|
* Use lowercase attributes objectclass and structuralobjectclassAlex Auvolat2020-02-141-5/+5
|
* Ensure objects have an objectclass propertyAlex Auvolat2020-02-143-3/+15
|
* Update docker image to version 12Alex Auvolat2020-02-131-1/+1
|
* Add a function to resync member/memberOf values over the databaseAlex Auvolat2020-02-132-1/+97
|
* Refactor memberOf management logicAlex Auvolat2020-02-133-95/+83
|
* Make getAttribute return an empty array instead of nil when key not foundAlex Auvolat2020-02-132-13/+1
|
* Fix equality test in ldap compare requestAlex Auvolat2020-02-131-1/+1
|
* Update Docker imageAlex Auvolat2020-02-121-1/+1
|
* Optimize some kv.List requests to not list all childrenAlex Auvolat2020-02-122-3/+8
|
* Handle search attribute *Alex Auvolat2020-02-113-4/+6
|
* Update nomad hcl file to use template instead of artifactAlex Auvolat2020-02-101-3/+2
|
* Make Makefile more genericAlex Auvolat2020-02-101-10/+14
|
* Modify initial administrator account to include displayname attributeAlex Auvolat2020-02-101-1/+2
|
* Implement (inefficiently) search scopesAlex Auvolat2020-02-092-1/+13
|
* Fix logo path (broken due to repo renaming)Quentin Dufour2020-02-021-1/+1
|
* Change some Printf's to Debugf'sAlex Auvolat2020-02-022-5/+5
|
* Merge branch 'gomod' of Deuxfleurs/bottin into masterAlex2020-02-0211-13/+116
|\
| * Import upstream lor00x/goldap reposityMaximilien Richer2020-02-0211-11/+12
| |
| * Rename go module to bottinMaximilien Richer2020-02-024-4/+7
| |
| * Implements go modulesMaximilien Richer2020-02-025-5/+104
| | | | | | | | | | Following errors compiling with go 1.13 See https://blog.golang.org/migrating-to-go-modules for details.
* | Remove spaces between dn components, use warnings when necessaryAlex Auvolat2020-02-025-37/+59
| |
* | Bug fix: case-insensitive value match (except for passwords)Alex Auvolat2020-02-023-2/+10
| |
* | Update README with accurate info on how to build BottinAlex Auvolat2020-02-023-4/+14
|/