30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From 20623658d24b860b2d13ae2da4a22ce7151394d9 Mon Sep 17 00:00:00 2001
|
|
From: Sumit Bose <sbose@redhat.com>
|
|
Date: Thu, 14 Jan 2016 11:42:26 +0100
|
|
Subject: [PATCH 47/55] p11: add gnome-screensaver to list of allowed services
|
|
|
|
Resolves https://fedorahosted.org/sssd/ticket/2925
|
|
|
|
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
|
(cherry picked from commit e9c42ec738c213bd5f351567c20d404a280b32d0)
|
|
---
|
|
src/responder/pam/pamsrv_p11.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/responder/pam/pamsrv_p11.c b/src/responder/pam/pamsrv_p11.c
|
|
index ea428a6a3dd41b1770b69ff0301ed98c1c08c01d..ad1670136dbf8efc41df6950af744ff8b06e6a11 100644
|
|
--- a/src/responder/pam/pamsrv_p11.c
|
|
+++ b/src/responder/pam/pamsrv_p11.c
|
|
@@ -45,7 +45,7 @@ bool may_do_cert_auth(struct pam_ctx *pctx, struct pam_data *pd)
|
|
size_t c;
|
|
const char *sc_services[] = { "login", "su", "su-l", "gdm-smartcard",
|
|
"gdm-password", "kdm", "sudo", "sudo-i",
|
|
- NULL };
|
|
+ "gnome-screensaver", NULL };
|
|
if (!pctx->cert_auth) {
|
|
return false;
|
|
}
|
|
--
|
|
2.5.0
|
|
|