Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix wrong handling of multi value attributes | Simon Beck | 2022-02-14 | 1 | -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 handling | Simon Beck | 2022-02-10 | 5 | -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-id | Quentin Dufour | 2021-09-16 | 4 | -30/+12 |
| | |||||
* | Patch ASN.1 BER encoding of integers and length + unit tests | Quentin Dufour | 2021-09-16 | 3 | -10/+160 |
| | |||||
* | Encoding errors must be logged | Quentin Dufour | 2021-09-16 | 1 | -1/+4 |
| | |||||
* | Use vendored goldap | Quentin Dufour | 2021-09-16 | 11 | -14/+10 |
| | |||||
* | Vendor goldap | Quentin Dufour | 2021-09-16 | 74 | -0/+11818 |
| | |||||
* | Correct the function GenerateNameCorrect_Test_GenerateName | MrArmonius | 2021-07-26 | 1 | -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 Testing | MrArmonius | 2021-07-19 | 17 | -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's | MrArmonius | 2021-07-19 | 4 | -6/+23 |
| | | | | container | ||||
* | Test End-to-end V1.0, testing Bottin's behavior | MrArmonius | 2021-07-19 | 12 | -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 signature | Alex Auvolat | 2021-04-05 | 1 | -0/+6 |
| | |||||
* | Fix logo in readme | Alex Auvolat | 2021-04-05 | 1 | -1/+1 |
| | |||||
* | Drone CI badge for branch main | Alex Auvolat | 2021-04-05 | 1 | -1/+1 |
| | |||||
* | Update bottin version in hcl exampleHEADmaster | Alex Auvolat | 2021-03-09 | 1 | -1/+1 |
| | |||||
* | Refactor & add case normalization logic to putAttributes | Alex Auvolat | 2021-03-09 | 4 | -46/+87 |
| | |||||
* | Refactoring | Alex Auvolat | 2021-03-09 | 4 | -82/+87 |
| | |||||
* | Use consul's stale reads by default | Alex Auvolat | 2021-03-09 | 4 | -22/+42 |
| | |||||
* | Add bottin CI badge | Alex Auvolat | 2021-02-08 | 1 | -0/+2 |
| | |||||
* | test add drone CI | Alex Auvolat | 2021-02-08 | 1 | -0/+7 |
| | |||||
* | Style changes | Alex Auvolat | 2020-11-13 | 3 | -16/+16 |
| | |||||
* | Fix horrible, horrible bug | Alex Auvolat | 2020-11-13 | 1 | -1/+1 |
| | |||||
* | Fix image link in README.md | Alex Auvolat | 2020-04-04 | 1 | -1/+1 |
| | |||||
* | Add use case paragraph in README | Alex Auvolat | 2020-03-11 | 1 | -0/+7 |
| | |||||
* | Mention Guichet in README | Alex Auvolat | 2020-02-28 | 1 | -0/+3 |
| | |||||
* | Hopefully, fix most case-sensitivity issues | Alex Auvolat | 2020-02-15 | 5 | -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 version | Alex Auvolat | 2020-02-14 | 1 | -1/+1 |
| | |||||
* | Use lowercase attributes objectclass and structuralobjectclass | Alex Auvolat | 2020-02-14 | 1 | -5/+5 |
| | |||||
* | Ensure objects have an objectclass property | Alex Auvolat | 2020-02-14 | 3 | -3/+15 |
| | |||||
* | Update docker image to version 12 | Alex Auvolat | 2020-02-13 | 1 | -1/+1 |
| | |||||
* | Add a function to resync member/memberOf values over the database | Alex Auvolat | 2020-02-13 | 2 | -1/+97 |
| | |||||
* | Refactor memberOf management logic | Alex Auvolat | 2020-02-13 | 3 | -95/+83 |
| | |||||
* | Make getAttribute return an empty array instead of nil when key not found | Alex Auvolat | 2020-02-13 | 2 | -13/+1 |
| | |||||
* | Fix equality test in ldap compare request | Alex Auvolat | 2020-02-13 | 1 | -1/+1 |
| | |||||
* | Update Docker image | Alex Auvolat | 2020-02-12 | 1 | -1/+1 |
| | |||||
* | Optimize some kv.List requests to not list all children | Alex Auvolat | 2020-02-12 | 2 | -3/+8 |
| | |||||
* | Handle search attribute * | Alex Auvolat | 2020-02-11 | 3 | -4/+6 |
| | |||||
* | Update nomad hcl file to use template instead of artifact | Alex Auvolat | 2020-02-10 | 1 | -3/+2 |
| | |||||
* | Make Makefile more generic | Alex Auvolat | 2020-02-10 | 1 | -10/+14 |
| | |||||
* | Modify initial administrator account to include displayname attribute | Alex Auvolat | 2020-02-10 | 1 | -1/+2 |
| | |||||
* | Implement (inefficiently) search scopes | Alex Auvolat | 2020-02-09 | 2 | -1/+13 |
| | |||||
* | Fix logo path (broken due to repo renaming) | Quentin Dufour | 2020-02-02 | 1 | -1/+1 |
| | |||||
* | Change some Printf's to Debugf's | Alex Auvolat | 2020-02-02 | 2 | -5/+5 |
| | |||||
* | Merge branch 'gomod' of Deuxfleurs/bottin into master | Alex | 2020-02-02 | 11 | -13/+116 |
|\ | |||||
| * | Import upstream lor00x/goldap reposity | Maximilien Richer | 2020-02-02 | 11 | -11/+12 |
| | | |||||
| * | Rename go module to bottin | Maximilien Richer | 2020-02-02 | 4 | -4/+7 |
| | | |||||
| * | Implements go modules | Maximilien Richer | 2020-02-02 | 5 | -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 necessary | Alex Auvolat | 2020-02-02 | 5 | -37/+59 |
| | | |||||
* | | Bug fix: case-insensitive value match (except for passwords) | Alex Auvolat | 2020-02-02 | 3 | -2/+10 |
| | | |||||
* | | Update README with accurate info on how to build Bottin | Alex Auvolat | 2020-02-02 | 3 | -4/+14 |
|/ |