From a45b7b7c232d2eda8e9884402a5bf23bc56d76fc Mon Sep 17 00:00:00 2001 From: Daniel Aleksandersen Date: Wed, 4 Jul 2012 15:56:15 +0300 Subject: [PATCH] Return the group database entry --- radicale/acl/PAM.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/acl/PAM.py b/radicale/acl/PAM.py index 3399a3c..d9c84e1 100644 --- a/radicale/acl/PAM.py +++ b/radicale/acl/PAM.py @@ -50,7 +50,7 @@ def has_right(owner, user, password): # Check whether the group exists try: - members = grp.getgrnam(GROUP_MEMBERSHIP) + members = grp.getgrnam(GROUP_MEMBERSHIP).gr_mem except KeyError: log.LOGGER.debug( "The PAM membership required group (%s) doesn't exist" %