]> git.ipfire.org Git - thirdparty/systemd.git/commit
nss-mymachines: never resolve unmapped UIDs/GIDs
authorLennart Poettering <lennart@poettering.net>
Wed, 10 Feb 2016 21:58:41 +0000 (22:58 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Feb 2016 22:42:34 +0000 (23:42 +0100)
commitcf3bdcfeba48ffef71f1f59e092c4fb9275dcb3a
treec6de01115847ac95b2a33fc185740bf68c4e4b91
parent648b122045182a1ac19d1622817e2a350beb0354
nss-mymachines: never resolve unmapped UIDs/GIDs

Don't ever permit successful user or group lookups if no UID/GID mapping is
actually applied. THis way, we can be sure that nss-mymachines cannot be used
to insert invalid cache entries into nscd's cache.

https://bugzilla.redhat.com/show_bug.cgi?id=1285339
src/nss-mymachines/nss-mymachines.c