-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(LDAP): drop hard base checks for now #56085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 <[email protected]>
|
/backport to stable32 |
|
the private function |
might still be useful, going to check with @come-nc next week. |
|
@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. |
👍 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)