Closed RogerSik closed 1 year ago
More information because of troubleshooting:
When accepting the removation of the users. The removed users are still there but they are also available to be added to the group.
We are running slapd 2.4.49 on Ubuntu 20.04.
It's may due to limit in number of objects returned by a search. As a work-around, you could increase this limit (see https://www.openldap.org/doc/admin24/limits.html). To properly fix this problem, we could implement paged search in this context but it will be works only on LDAP v3 connection.
The olclimit is set to 1000 because we have other applications which also had the issue.
If that is the issue than viewing the group should also be an issue but its not. Only adding. When extending the group with a line and not with the "selector" modify group it is working fine.
Ok, I reproduce the problem and finally found that this problem is due to PHP max_input_vars
INI parameter defaulty set to 1000.
; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 1000
You have to increase this value to handle more than ~500 users because old and new values are passed in POST. Don't forget to restart apache2 or php-fpm after setting this parameter.
Note: phpLDAPadmin could try to set this parameter automatically but it's not really reliable, so I think it's preferable that users set it manually.
Many thanks @brenard, will try it this week.
Works 👍 so im closing this issue.
Describe the bug When modifying membership of groupOfUniqueNames which has more than 500 members, random existing users will be "thrown" out.
Example screenshots:
Group with 527 members:
Only adding one user to this group. Screen of action what will happen:
-> Removing membershop of multiple users
To Reproduce Steps to reproduce the behavior:
Expected behavior It should be possible to add more users, when a group grows with the time over 500 memberships.
Desktop (please complete the following information):
This errors also happens on Mac Safari.
We use phpldapadmin in version 1.25 with the "osixia/phpldapadmin:latest" docker container.