proxmox/proxmox-ldap
Lukas Wagner 378e2380b7 ldap: surround user filter expression in parenthesis if not already
In PVE, the `filter` attribute is surrounded in () if it is not already,
allowing "uid=test" as well as "(uid=test)" [1].

A forum user [2] just ran into this inconsistency, so I decided to adjust
the behavior.

[1] https://git.proxmox.com/?p=pve-common.git;a=blob;f=src/PVE/LDAP.pm;h=ff98e367e63265bf76c0f302847c3749eea095a6;hb=HEAD#l115
[2] https://forum.proxmox.com/threads/ldap-query-for-security-group-members.127882/

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-06-23 11:19:04 +02:00
..
debian update d/copyright files to debian copyright-format 1.0 2023-05-23 13:02:39 +02:00
src ldap: surround user filter expression in parenthesis if not already 2023-06-23 11:19:04 +02:00
tests ldap: test fixup 2023-03-02 15:44:11 +01:00
Cargo.toml fix 'default-features = false' for ldap3 2023-02-08 14:26:34 +01:00
run_integration_tests.sh ldap: tests: add LDAP integration tests 2023-02-08 14:11:21 +01:00