]> git.ipfire.org Git - thirdparty/systemd.git/commit
user-record: add helper that checks if a provided user name matches a record
authorLennart Poettering <lennart@poettering.net>
Fri, 3 Jan 2025 16:53:33 +0000 (17:53 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Jan 2025 08:58:29 +0000 (09:58 +0100)
commit8aacf0fee1a8e9503bc071d5557293b0f3af50a4
treebb178284b34e6c7d015c79c1aa478d512f3c8e4f
parent30de5691744781277f992a25afa268518f3fe711
user-record: add helper that checks if a provided user name matches a record

This ensures that user names can be specified either in the regular
short syntax or with a realm appended, and both are accepted. (The
latter of course only if the record actually defines a realm)
src/home/homed-varlink.c
src/home/pam_systemd_home.c
src/login/pam_systemd.c
src/shared/group-record.c
src/shared/group-record.h
src/shared/user-record.c
src/shared/user-record.h
src/shared/userdb-dropin.c
src/userdb/userwork.c