Fix wrong handling of multi value attributes #13

Merged
lx merged 1 commits from Kidswiss/bottin:fix/multivalue_attr into main 2022-02-14 11:13:31 +00:00

1 Commits

Author SHA1 Message Date
Simon Beck d28e669676 Fix wrong handling of multi value attributes
continuous-integration/drone/pr 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.
2022-02-10 20:39:21 +01:00