-
Notifications
You must be signed in to change notification settings - Fork 10
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
ldap_write_support not working with nextcloud 29.0.0.19 #740
Comments
This demonstrates a valid config:
But any attempts to modify the password of an ldap user (sudo -u www-data php occ user:resetpassword test) generates the same error as provided in the initial report. Let me know if there is anything I can do to provide better/more helpful detail. |
I can confirm this with 29.0.3. The log is flooded with these errors, although there are no functional restrictions. It affects those users that are created as SQL/local.
|
What is the value of |
I cannot reproduce on latest main branch with server master. Did not test on 29. |
@mrdrmmn @Beerlesklopfer We need details on the situation to find the source of the problem because we are not able to reproduce it. |
I have the same error with 1.12.0 and NC 30.0.5. There is no reference to ldapProviderFactory in occ config:list or the config.php file. |
So, There is a repair step on enable user_ldap which should set it, so that’s weird. Maybe try to disable it and enable it again? |
Hello, same issue as ajdelgado can't find the write section
Worked fine a long time ago so i have a config from occ config:list
Tried to disable, enable, even remove and reinstall app |
@RomualdLewandoski Do you have the same error in the logs or another one? |
Hello, no i don't find the same error, the only one i had whas : {"reqId":"PqkAP90yO87BAZDe8DwA","level":3,"time":"2025-02-04T09:54:01+00:00","remoteAddr":"X.X.X.X","user":"MyUSer","app":"jsresourceloader","method":"GET","url":"/index.php/settings/admin/ldap","message":"Could not find resource ldap_write_support/js/ldap_write_suppport-admin-settings.js to load","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36","version":"30.0.0.14","data":{"app":"jsresourceloader"},"id":"67a34b096bae7"} Also was unable to edit how member is created so failed to set password {"reqId":"pxsmo5x1AzKqg1Pplkzj","level":3,"time":"2025-02-04T10:36:47+00:00","remoteAddr":"X.X.X.X","user":"MyUSer","app":"ldap_write_support","method":"POST","url":"/ocs/v2.php/cloud/users","message":"Failed to set password for user MyUser using ldap_exop_passwd","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36","version":"30.0.0.14","data":{"app":"ldap_write_support","ldap_error":"Confidentiality required"},"id":"67a34b096b969"} Who seems to be more linked with #844 |
Can you upgrade the application and retest? |
I'm new to nextcloud and have a fresh install of 29.0.0.19 with and ldap backend for users. authentication is working as expected and verified to be coming from LDAP. When I enable ldap_write_support, I immediately start seeing the following errors in my logs:
But I do in fact have an LDAP provider configured and working.
I've been digging into the code and have not been able to determine what the exact problem is. I suspect maybe things have changed in nextcloud that have caused this to become an issue as I am sure others have been working just fine.
I'll continue to poke and it and if I can find a solution, I will update this.
The text was updated successfully, but these errors were encountered: