Commit Graph

19 Commits (main)

Author SHA1 Message Date
Simon Beck 9ce0d22c99 Fix wrong handling of multi value attributes
continuous-integration/drone/push Build is passing Details
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.
2 years ago
Quentin 2707dd77c5
Use vendored goldap 2 years ago
Alex 99d8955ab3 Refactor & add case normalization logic to putAttributes
continuous-integration/drone/push Build is passing Details
3 years ago
Alex 1a20a64eff Refactoring
continuous-integration/drone/push Build is passing Details
3 years ago
Alex dc3fd4df65 Use consul's stale reads by default 3 years ago
Alex 851573e28f Fix equality test in ldap compare request 4 years ago
Alex 8ca2d39971 Optimize some kv.List requests to not list all children 4 years ago
Alex e52a1f74a3 Handle search attribute * 4 years ago
Alex 0402f7806a Implement (inefficiently) search scopes 4 years ago
Alex f32c272db2 Merge branch 'gomod' of Deuxfleurs/bottin into master 4 years ago
Maximilien Richer a6faceb559
Import upstream lor00x/goldap reposity 4 years ago
Maximilien Richer 3644fdfe61
Rename go module to bottin 4 years ago
Alex 0c801e02d5 Remove spaces between dn components, use warnings when necessary 4 years ago
Alex 4c037dcb94 Bug fix: case-insensitive value match (except for passwords) 4 years ago
Maximilien Richer 0274ab0038
Implements go modules
Following errors compiling with go 1.13
See https://blog.golang.org/migrating-to-go-modules for details.
4 years ago
Alex da2c37bb95 Better logging 4 years ago
Alex e1f5c31402 More logs 4 years ago
Alex 8a605f44b0 Don't do stupid things like use a dn as a pattern
Also add metadata fields in objects created on initialization
4 years ago
Alex b27eb45239 Split off read and write functions in separate files 4 years ago