Package: radicale
Version: 3.5.1-1
Severity: normal
Tags: upstream

Hi,

I use radicale with LDAP authentication, making use of the 'ldap_user_attribute'
config option, and an appropriate LDAP filter that allows the system to have the
name used for logging on separate from the user to be mapped to
(e.g. by using the mail address of the user as login name)

    [auth]
    type = ldap
    ...
    ldap_filter = 
(&(objectClass=inetOrgPerson)(uidNumber>=1000)(|(cn={0})(mail={0})))
    ldap_user_attribute = uid

Before radicale 3.5.1 this setup worked without a hitch.
In radicale 3.5.1 a change broke it.

The issue is meanwhile fixed by commit d41f4f3 (based on PR #1761) in upstream
radicale.
I tested it in my setup: it restores the working behaviour: 👍 😀

Please consider aplying this patch to Debian's radicale in order to get the LDAP
authentication fixed for all setups in Debian trixie.
(i.e. even if radicale won't release a new version until then).

As the fix is in radicale's master branch, I expect this fix to be in the next
radicale release. So the patch is expected necessary only until theni; no 
permanent burden.

Thanks for maintaining radicale in Debian
Peter


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-security'), (500, 'unstable'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.21-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages radicale depends on:
ii  adduser                    3.150
ii  init-system-helpers        1.68
ii  python3                    3.13.2-2
ii  python3-radicale           3.5.1-1
ii  sysvinit-utils [lsb-base]  3.14-4

Versions of packages radicale recommends:
ii  ssl-cert  1.1.3

Versions of packages radicale suggests:
ii  apache2                         2.4.63-1
ii  apache2-utils                   2.4.63-1
pn  libapache2-mod-authnz-external  <none>
ii  python3-bcrypt                  4.2.0-2.1+b1
ii  python3-ldap3                   2.9.1-2
pn  uwsgi                           <none>
pn  uwsgi-plugin-python3            <none>

-- Configuration Files:
/etc/radicale/config changed [not included]
/etc/radicale/rights changed [not included]

-- no debconf information

Reply via email to