You are not logged in.
Pages: 1
Good,
I am trying to massively synchronize users after changing the LDAP server.
I can not do it, it fails continuously, although the connection test is good.
I am trying to get users on / off based on whether they exist in LDAP or not.
Any ideas? Thank you very much
*** PHP Warning(2): ldap_search(): Partial search results returned: Sizelimit exceeded
Backtrace :
:
inc/authldap.class.php:1377 ldap_search()
inc/authldap.class.php:1504 AuthLDAP::searchForUsers()
inc/authldap.class.php:1243 AuthLDAP::getAllUsers()
inc/authldap.class.php:2939 AuthLDAP::showLdapUsers()
front/ldap.import.php:72 AuthLDAP::searchUser()
Last edited by ecanton (2017-01-10 13:09:52)
Offline
If it's a manual synchronization, it's the limit of the LDAP (1000).
You must synchonize by date to reduce this max
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
How can I search by number of users instead of searching by dates
Offline
Hi. The same question - what it means "synchronize by date"? I have:
[2022-06-22 09:00:02] glpiphplog.WARNING: *** PHP Warning (2): ldap_search(): Partial search results returned: Sizelimit exceeded in /var/www/html/glpi/src/AuthLDAP.php at line 1869
Backtrace :
src/AuthLDAP.php:1869 ldap_search()
src/AuthLDAP.php:2027 AuthLDAP::searchForUsers()
src/Console/Ldap/SynchronizeUsersCommand.php:293 AuthLDAP::getAllUsers()
vendor/symfony/console/Command/Command.php:298 Glpi\Console\Ldap\SynchronizeUsersCommand->execute()
vendor/symfony/console/Application.php:1015 Symfony\Component\Console\Command\Command->run()
src/Console/Application.php:256 Symfony\Component\Console\Application->doRunCommand()
vendor/symfony/console/Application.php:299 Glpi\Console\Application->doRunCommand()
vendor/symfony/console/Application.php:171 Symfony\Component\Console\Application->doRun()
bin/console:122 Symfony\Component\Console\Application->run()
My filter: (&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
Last edited by WebGreg (2022-06-22 09:12:10)
--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS
Offline
I have modified the search filter to limit it to members of a specific group. Time will tell if this proves to be sufficient.
(&(objectClass=user)(objectCategory=person)(memberOf:1.2.840.113556.1.4.1941:= CN=group_name,OU=groups,DC=domain,DC=com)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS
Offline
The error still shows up
--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS
Offline
Pages: 1