t3ext-ig_ldap_sso_auth icon indicating copy to clipboard operation
t3ext-ig_ldap_sso_auth copied to clipboard

Allow importing more than 100 users

Open spoonerWeb opened this issue 7 years ago • 4 comments

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.

spoonerWeb avatar Aug 01 '18 07:08 spoonerWeb

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)

someplace53 avatar Jan 09 '19 08:01 someplace53

#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 avatar Oct 30 '19 10:10 xperseguers

@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.

spoonerWeb avatar Feb 17 '20 11:02 spoonerWeb

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?

fvb-sb avatar Aug 16 '21 14:08 fvb-sb