summaryrefslogtreecommitdiffstats
path: root/src/nss-systemd/nss-systemd.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-04-09 14:28:34 +0200
committerLennart Poettering <lennart@poettering.net>2020-04-09 14:38:02 +0200
commited30170ea03195d491c59b1d161325275127d620 (patch)
treef84032f5db5ccb278e3cf09caa9a43c2f0f19d1e /src/nss-systemd/nss-systemd.c
parentpam-systemd-home: drop redundant newline (diff)
downloadsystemd-ed30170ea03195d491c59b1d161325275127d620.tar.xz
systemd-ed30170ea03195d491c59b1d161325275127d620.zip
userdb: when doing client-side NSS look-ups optionally avoid shadow look-ups
Diffstat (limited to 'src/nss-systemd/nss-systemd.c')
-rw-r--r--src/nss-systemd/nss-systemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nss-systemd/nss-systemd.c b/src/nss-systemd/nss-systemd.c
index 581b7959bd..058119742f 100644
--- a/src/nss-systemd/nss-systemd.c
+++ b/src/nss-systemd/nss-systemd.c
@@ -482,7 +482,7 @@ enum nss_status _nss_systemd_getgrent_r(
}
}
- r = nss_group_record_by_name(group_name, &gr);
+ r = nss_group_record_by_name(group_name, false, &gr);
if (r == -ESRCH)
continue;
if (r < 0) {