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. 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) regards -- Slavko http://slavino.sk
signature.asc
Description: PGP signature