aboutsummaryrefslogtreecommitdiff
path: root/write.go
Commit message (Collapse)AuthorAgeFilesLines
* Style changesAlex Auvolat2020-11-131-3/+3
|
* Hopefully, fix most case-sensitivity issuesAlex Auvolat2020-02-151-71/+95
| | | | | | | | | | | | - 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
* Ensure objects have an objectclass propertyAlex Auvolat2020-02-141-2/+13
|
* Refactor memberOf management logicAlex Auvolat2020-02-131-94/+22
|
* Make getAttribute return an empty array instead of nil when key not foundAlex Auvolat2020-02-131-9/+0
|
* Merge branch 'gomod' of Deuxfleurs/bottin into masterAlex2020-02-021-2/+3
|\
| * 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-1/+1
| | | | | | | | | | 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-25/+24
|/
* Something that actually worksAlex Auvolat2020-02-011-1/+1
|
* Better loggingAlex Auvolat2020-02-011-1/+1
|
* Don't do stupid things like use a dn as a patternAlex Auvolat2020-01-261-3/+0
| | | | Also add metadata fields in objects created on initialization
* Fix missing procedure for delete membership & "better" failure handlingAlex Auvolat2020-01-261-20/+72
| | | | | | | | 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-0/+472