Uh oh!
There was an error while loading. Please reload this page.
fix(LDAP): drop hard base checks for now - #56085
Conversation
The migration path is hard and unexpected. We can follow-up with a soft setup check instead for a while, but needs to be discussed. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
blizzz
commented
Oct 29, 2025
/backport to stable32 |
hamza221
commented
Oct 30, 2025
the private function |
blizzz
commented
Oct 30, 2025
might still be useful, going to check with @come-nc next week. |
come-nc
commented
Nov 3, 2025
@blizzz So I checked the code a bit more and ldapBase is actually almost never used, apart from counting objects to test its value, and as default value for the other bases in the wizard. So it could even be removed and replaced by a test field. I guess it’s fine to simply revert the check for now as bad values in this field are not important in the end. We should just make sure it’s never used as the actual base of the LDAP in the future. Ideally we should inverstigate why a failing check caused so much trouble, especially the memory limit issues are concerning. But also I think most people failed to understand what the error meant and that the base field is actually multi-valued. |
blizzz
commented
Nov 3, 2025
👍 Yeah, as said, it is part of the cozy-easy-setup for non-LDAP-knowledgable people and basically copied over as user and group tree quite soonish. I don't think it was ever used for anything else?
Though I was curious I did not have time too look into what the check was doing. Gut feeling said it looked like recursing endlessly, did not really look into it though. But struck me odd. |
Summary
The migration path is hard and unexpected. We can follow-up with a soft setup check instead for a while, but needs to be discussed.
Checklist
3. to review, feature component)stable32)