]> git.ipfire.org Git - thirdparty/systemd.git/commit
userdb: Use json_dispatch_user_group_name() to parse GetMembership fields
authorSamuel Cabrero <scabrero@suse.de>
Fri, 10 Feb 2023 13:04:27 +0000 (14:04 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 10 Feb 2023 15:09:45 +0000 (15:09 +0000)
commitedd5ec23738ef9ae7b1416bacede97e70ddf9402
tree10c6324065c54258420e27c5050b178f69409d30
parent39a6a5169bf8271980592d779d3ee986ddfcf4c3
userdb: Use json_dispatch_user_group_name() to parse GetMembership fields

It allows to relax the checks and allow characters like '\', used by
windows to split the domain name and user name.

For reference, discussion in the systemd-devel mailing list:
https://lists.freedesktop.org/archives/systemd-devel/2023-February/048804.html

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
src/shared/userdb.c