mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Merge pull request #7 from zcode/patch-1
PAM: Return the group database entry
This commit is contained in:
commit
15f28e9acd
1 changed files with 1 additions and 1 deletions
|
@ -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" %
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue