t3ext-ig_ldap_sso_auth
t3ext-ig_ldap_sso_auth copied to clipboard
Allow importing more than 100 users
Currently the import scheduler task is set fixed to fetch 100 records if the function ldap_control_paged_result() exists.
One should either be possible to change the PAGE_SIZE or to always fetch all records.
The possibility of import users page by page is not possible to handle in the scheduler task.
I have seen this to late, but this seems to be related to #43 where I proposed a fix. And if you must you could change the page size in the code (same class at the top)
#43 has been fixed (sorry @someplace53, could not commit in your name since I don't know who you are and you didn't provide a PR that I could have used). Please check and report if problem persists.
@xperseguers It's not working with version 3.5.0.
Behaviour: I have 380 FE users. I disable all of them. I activate to re-enable imported ones. After first import run: 100 FE users are enabled After second and third import run: Still 100 FE users are enabled. The other 280 FE users stay disabled.
Same here.
Running a ldapsearch on server's CLI using the same LDAP filter returns the expected number of entries. Seems that the search wizard as well as the import task are limited to 100 FE users.
@xperseguers: Is there any chance to tweak this?