-
Notifications
You must be signed in to change notification settings - Fork 530
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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 cleanup in config.php #4536
Comments
Hi, we will not add this by default but could add a hint to our docs. https://github.com/nextcloud/all-in-one?tab=readme-ov-file#ldap and potentially https://github.com/nextcloud/all-in-one/tree/main/community-containers/lldap |
Would you mind opening a PR that adds this? :) |
Ok there seems to be more to this problem than thought. So I went into the docs again and tried the following commands: I will report back and see if this solved the issue. P.S.: For reference, I am using the Synology LDAP server |
Did it? |
Sorry I have some private troubles at the moment so I couldn't find the time for this. However, I think I actually found the cause of this issue: The "Everyone Group" App. So I am pretty certain that this isn't a problem of NC in general. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I was really confused when I started receiving bounced e-mail errors for the daily Nextcloud notification mail for a user that I had removed from our company (incl. the e-mail) and our nextcloud.
A lot of bounced e-mails would also eventually damage our domain's spam rating so I tried to find where in NC that e-mail address was still present.
After some time I actually found the problem and a solution: The LDAP database in NC doesn't cleanup after itself automatically. So when you delete useres via LDAP they still stay somewhere in the NC database.
The solution is quite simple:
As described here:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/user_auth_ldap_cleanup.html
You just have to add
'ldapUserCleanupInterval' => '51'
to the nextcloud config.php
Could this be implemented as default into the AIO NC containers config.php? or would this cause a problem if LDAP isn't activated?
The text was updated successfully, but these errors were encountered: