aboutsummaryrefslogtreecommitdiff
path: root/main.go
Commit message (Collapse)AuthorAgeFilesLines
* Use vendored goldapQuentin Dufour2021-09-161-1/+1
|
* Bottin's Test V2.0 with Framework TestingMrArmonius2021-07-191-1/+1
| | | | | | | | 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,
* Test End-to-end V1.0, testing Bottin's behaviorMrArmonius2021-07-191-5/+12
| | | | | | | | | | | 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
* Refactor & add case normalization logic to putAttributesAlex Auvolat2021-03-091-2/+0
|
* RefactoringAlex Auvolat2021-03-091-79/+0
|
* Use consul's stale reads by defaultAlex Auvolat2021-03-091-18/+38
|
* Style changesAlex Auvolat2020-11-131-4/+4
|
* Hopefully, fix most case-sensitivity issuesAlex Auvolat2020-02-151-15/+44
| | | | | | | | | | | | - 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
* Use lowercase attributes objectclass and structuralobjectclassAlex Auvolat2020-02-141-5/+5
|
* Ensure objects have an objectclass propertyAlex Auvolat2020-02-141-0/+1
|
* Add a function to resync member/memberOf values over the databaseAlex Auvolat2020-02-131-1/+9
|
* Make getAttribute return an empty array instead of nil when key not foundAlex Auvolat2020-02-131-4/+1
|
* Optimize some kv.List requests to not list all childrenAlex Auvolat2020-02-121-1/+1
|
* Handle search attribute *Alex Auvolat2020-02-111-1/+0
|
* Modify initial administrator account to include displayname attributeAlex Auvolat2020-02-101-1/+2
|
* Merge branch 'gomod' of Deuxfleurs/bottin into masterAlex2020-02-021-3/+4
|\
| * Import upstream lor00x/goldap reposityMaximilien Richer2020-02-021-1/+1
| |
| * Rename go module to bottinMaximilien Richer2020-02-021-1/+2
| |
| * Implements go modulesMaximilien Richer2020-02-021-3/+3
| | | | | | | | | | 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-021-1/+8
| |
* | Update README with accurate info on how to build BottinAlex Auvolat2020-02-021-3/+0
|/
* Better loggingAlex Auvolat2020-02-011-21/+43
|
* Fix password comparisonAlex Auvolat2020-02-011-1/+1
|
* Fix missing newline after TLS warningAlex Auvolat2020-02-011-1/+1
|
* Rebrand to Bottin (with Superboum's benediction)Alex Auvolat2020-01-311-13/+13
|
* More logsAlex Auvolat2020-01-281-3/+3
|
* Use better randomnessAlex Auvolat2020-01-271-3/+6
|
* Fix slice boundsAlex Auvolat2020-01-271-1/+1
|
* Allow for both TLS and non-TLS connectionsAlex Auvolat2020-01-271-45/+73
|
* Implement TLS mechanisms correctly, I hopeAlex Auvolat2020-01-271-24/+56
|
* Don't do stupid things like use a dn as a patternAlex Auvolat2020-01-261-4/+7
| | | | Also add metadata fields in objects created on initialization
* Fix missing procedure for delete membership & "better" failure handlingAlex Auvolat2020-01-261-0/+1
| | | | | | | | After an object has been updated, membership information must be propagated to other object. Such operations may fail when calling consul but if they do we don't return fail immediatly returning an error code any more. Instead we just print all the errors to our logs and try to process the remaining updates.
* Split off read and write functions in separate filesAlex Auvolat2020-01-261-658/+0
|
* More serious schema enforcementAlex Auvolat2020-01-261-15/+48
|
* FixesAlex Auvolat2020-01-261-3/+12
|
* Less logs but better logsAlex Auvolat2020-01-261-13/+45
|
* Externalize configAlex Auvolat2020-01-261-30/+87
|
* Add anyread to admins in example acl because don't be ridiculousAlex Auvolat2020-01-261-4/+4
|
* First ACL implementationAlex Auvolat2020-01-261-102/+86
|
* Apply gofmt & minor refactoringAlex Auvolat2020-01-261-21/+17
|
* Fix handling of empty set of values as absence of the keyAlex Auvolat2020-01-201-10/+19
|
* Add TODO listAlex Auvolat2020-01-191-0/+4
|
* Forbid "/" in DNAlex Auvolat2020-01-191-14/+47
|
* Implement ModifyAlex Auvolat2020-01-191-1/+190
|
* Handle LDAP Compare and Delete requestsAlex Auvolat2020-01-191-0/+130
|
* Basic code cleanupAlex Auvolat2020-01-191-12/+26
|
* Use correct return code for unimplemented filtersAlex Auvolat2020-01-191-1/+1
|
* Better DN suffix validationAlex Auvolat2020-01-191-18/+33
|
* Implement add with group membershipAlex Auvolat2020-01-191-25/+110
|
* Use only []string for values, implement addAlex Auvolat2020-01-191-46/+65
|