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
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
..
bind providers/ldap: add unbind flow execution (#4484) 2023-01-23 20:36:30 +01:00
constants outposts/ldap: add correct group objectClass (#3023) 2022-06-02 18:48:07 +02:00
flags outposts/ldap: cached bind (#2824) 2022-05-08 16:48:53 +02:00
group providers/ldap: Improve compatibility with LDAP clients (#4750) 2023-02-22 14:18:22 +01:00
handler providers/ldap: memory Query (#1681) 2021-11-05 10:37:30 +01:00
metrics internal: centralise config for listeners to use same config system everywhere (#3367) 2022-08-03 21:33:27 +02:00
search providers/ldap: fix error not being checked correctly when fetching users 2023-02-03 18:10:06 +01:00
server providers/ldap: add unbind flow execution (#4484) 2023-01-23 20:36:30 +01:00
utils providers/ldap: Improve compatibility with LDAP clients (#4750) 2023-02-22 14:18:22 +01:00
bind.go lifecycle: cleanup prometheus (#2972) 2022-05-29 21:45:25 +02:00
entries.go providers/ldap: Improve compatibility with LDAP clients (#4750) 2023-02-22 14:18:22 +01:00
instance.go providers/ldap: add unbind flow execution (#4484) 2023-01-23 20:36:30 +01:00
ldap.go providers/ldap: add unbind flow execution (#4484) 2023-01-23 20:36:30 +01:00
ldap_tls.go outposts/ldap: only use common cert if cert is configured, correctly 2022-12-28 22:50:50 +01:00
refresh.go providers/ldap: add unbind flow execution (#4484) 2023-01-23 20:36:30 +01:00
search.go lifecycle: cleanup prometheus (#2972) 2022-05-29 21:45:25 +02:00
unbind.go providers/ldap: add unbind flow execution (#4484) 2023-01-23 20:36:30 +01:00
utils.go outposts/ldap: use backend group num_pk 2022-03-22 23:54:50 +01:00