This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/internal/outpost/ldap/utils
sdimovv 51c6a14786
providers/ldap: Improve compatibility with LDAP clients (#4750)
* Fixed invalid LDAP attributes by replacing '.'s and '/'s with '-'

* Leave old fields for now for backward compatibility

* Add forgotten depreceated field

* Fix tests

* Fix tests

* use shorter attribute names

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* sanitize attributes

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* keep both sanitized and unsanitized user fields

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add sanitized fields to test

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2023-02-22 14:18:22 +01:00
..
utils.go providers/ldap: Improve compatibility with LDAP clients (#4750) 2023-02-22 14:18:22 +01:00
utils_group.go providers/ldap: improve mapping of LDAP filters to authentik queries 2022-12-12 18:30:52 +00:00
utils_test.go providers/ldap: Improve compatibility with LDAP clients (#4750) 2023-02-22 14:18:22 +01:00
utils_user.go providers/ldap: improve mapping of LDAP filters to authentik queries 2022-12-12 18:30:52 +00:00