User Details
- User Since
- Apr 28 2023, 10:18 AM (75 w, 2 d)
Apr 19 2024
May 24 2023
May 4 2023
Indeed, I failed to commit the latest version after I had experimented with getting rid of the use statements. So its those two commits here: https://github.com/michaelroland/kolab-iRony/compare/master...fix-canonical-principal-name-from-auth that make the patch.
May 3 2023
@johndoe Yes, that's the only patch needed to make shortlogins work again.
Apr 28 2023
Btw. here is a version with the fix applied: https://github.com/michaelroland/kolab-iRony/tree/fix-canonical-principal-name-from-auth (not sure if I could have somehow created a merge request on this platform here)
The issue with shortlogins seems to stem from the transition to sabre/dav > 2.1. The AbstractBasic authentication backend API has changed since then and AbstractBasic now always uses the concatenation of the principalPrefix and the HTTP username as principal name (see https://github.com/sabre-io/dav/blob/4.4.0/lib/DAV/Auth/Backend/AbstractBasic.php#L107). To overcome this, we would need to override the check() method in iRony/lib/Kolab/DAV/Auth/HTTPBasic.php to return the canonicalized principal name: