The PAM authentication module is available in Radicale since version
0.7. PAM with older versions won't work.

For 0.7+, the module handling PAM authentication in Radicale is called
"PAM.py", and can be used with [acl]type=PAM in the config file
(uppercase everywhere, no problem in the config file).

This "PAM.py" module relies on an external package called
"pam" (lowercase), and this packages is:
- *not* this one: http://packages.debian.org/sid/libpam-python
- *not* this one: http://packages.debian.org/sid/python-pam
- this one: http://atlee.ca/software/pam/
  (AFAIK not packaged in Debian, but available on PyPI:
   http://pypi.python.org/pypi/pam/0.1.4 ).

I think that it's a problem in the Debian package, as it suggests to
install the wrong python-pam package.

Le vendredi 03 août 2012 à 23:10 +0000, Joseph Nahmias a écrit :
> Package: radicale
> Version: 0.7-1
> Followup-For: Bug #675924
> 
> This bug seems to occur because radicale is trying to do 'import pam',
> when it should be doing 'import PAM'; module names are case-sensitive in
> python!
> 
> On further investigation, it looks like it might be an issue in the config
> parser, because my /etc/radicale/config has:
> 
> $ grep -A 4 acl /etc/radicale/config 
> [acl]
> # Access method
> # Value: None | htpasswd | LDAP | PAM | courier
> #type = None
> type = PAM
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (990, 'testing')
> Architecture: i386 (x86_64)
> 
> Kernel: Linux 2.6.32-xenU-3831-x86_64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages radicale depends on:
> ii  adduser          3.113+nmu3
> ii  python           2.7.3~rc2-1
> ii  python-radicale  0.7-1
> 
> radicale recommends no packages.
> 
> Versions of packages radicale suggests:
> pn  apache2-utils       <none>
> pn  courier-authdaemon  <none>
> pn  python-ldap         <none>
> ii  python-pam          0.4.2-13
> 
> -- Configuration Files:
> /etc/default/radicale changed [not included]
> /etc/logrotate.d/radicale changed [not included]
> /etc/radicale/config changed [not included]
> 
> -- no debconf information
> 


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to