summaryrefslogtreecommitdiffstats
path: root/src/nss-systemd/nss-systemd.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-04-11 16:08:33 +0200
committerGitHub <noreply@github.com>2020-04-11 16:08:33 +0200
commit2d9123cebddfee7cff3052061517c495c5e359cd (patch)
treec2af1810cd0baf0ce801e4e26aba63eb2a0649af /src/nss-systemd/nss-systemd.c
parentMerge pull request #15392 from keszybz/flag-helper (diff)
parentlogind: avoid shadow lookups when doing userdb client side (diff)
downloadsystemd-2d9123cebddfee7cff3052061517c495c5e359cd.tar.xz
systemd-2d9123cebddfee7cff3052061517c495c5e359cd.zip
Merge pull request #15377 from poettering/userdb-no-shadow
don't try to access shadow from logind
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 c1e780edcb..4d63d8a2f0 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) {