From 2de4f53fc32dfb902b541a1cbcbdaf820cd39477 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 11 Aug 2015 16:46:46 -0500 Subject: [PATCH] Use PAM service This allows authentication types to be customised for radicale. --- radicale/auth/PAM.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/auth/PAM.py b/radicale/auth/PAM.py index 3098169..25e66b1 100644 --- a/radicale/auth/PAM.py +++ b/radicale/auth/PAM.py @@ -81,7 +81,7 @@ def is_authenticated(user, password): "The PAM user belongs to the required group (%s)" % GROUP_MEMBERSHIP) # Check the password - if pam_authenticate(user, password): + if pam_authenticate(user, password, service='radicale'): return True else: log.LOGGER.debug("Wrong PAM password")