We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AdImporter doesn’t work with PHP 8. I believe this is because ldap_control_paged_result has been removed.
Crash log:
www-data@c19612712e81:~/html$ php -f /var/www/html/occ cas:import-users-ad -vvv -d 1 -c 1 Start account import from ActiveDirectory. [info] AD connected successfully. 1d7b2a89[info] AD bound successfully. [info] Init complete. [info] Getting all users from the AD … An unhandled exception has been thrown: Error: Call to undefined function OCA\UserCAS\Service\Import\ldap_control_paged_result() in /var/www/html/custom_apps/user_cas/lib/Service/Import/AdImporter.php:277 Stack trace: #0 /var/www/html/custom_apps/user_cas/lib/Service/Import/AdImporter.php(129): OCA\UserCAS\Service\Import\AdImporter->getLdapList('ou=Users,dc=iii...', '(&(objectClass=...', Array, '751') #1 /var/www/html/custom_apps/user_cas/lib/Command/ImportUsersAd.php(105): OCA\UserCAS\Service\Import\AdImporter->getUsers() #2 /var/www/html/3rdparty/symfony/console/Command/Command.php(255): OCA\UserCAS\Command\ImportUsersAd->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #3 /var/www/html/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #4 /var/www/html/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(OCA\UserCAS\Command\ImportUsersAd), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #5 /var/www/html/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #6 /var/www/html/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #7 /var/www/html/console.php(100): OC\Console\Application->run() #8 /var/www/html/occ(11): require_once('/var/www/html/c...') #9 {main}
PHP version: 8.0.28
The text was updated successfully, but these errors were encountered:
No branches or pull requests
AdImporter doesn’t work with PHP 8. I believe this is because ldap_control_paged_result has been removed.
Crash log:
PHP version: 8.0.28
The text was updated successfully, but these errors were encountered: