Le mardi 25 décembre 2012 à 21:19 +0100, Slavko a écrit : > Hi Guillaume, > > you are right about improper pam module. But it is only part of the > problem (see below). > > First, solution about missing pam module is pretty simple - place the > downloaded pam.py (link in previous post - i tried the 1.3 version) > into /usr/share/pyshared/radicale/acl/ directory and create symlink(s) > in appropriate /usr/lib/python2.X/dist-packages/radicale/acl/ > directory. IMHO, this can be simple done by patching (add file by > patch) the package.
It can be a solution, not really clean but much easier. > Second problem is, that there is bad syntax in the line (PAM.py): > > members = grp.getgrnam(GROUP_MEMBERSHIP) > > and the members variable has not the members list in result, that the > user is not in configured group. Solution is simple - add the missing > index: > > members = grp.getgrnam(GROUP_MEMBERSHIP)[3] > > After these two modifications i get the radicale to work via PAM in the > testing environment (virtualbox, Debian testing) You're right! Actually, it's even been fixed in 0.7.1. https://github.com/Kozea/Radicale/commit/a45b7b7c232d2eda8e9884402a5bf23bc56d76fc Regards, -- Guillaume
signature.asc
Description: This is a digitally signed message part