LDAP works
LDAP works but it spams hundreds of such error messages.
[PHP] Error: Function ldap_control_paged_result() is deprecated at /usr/share/webapps/nextcloud/apps/user_ldap/lib/LDAP.php#310
PHP version:
7.4.1
Nextcloud version: (see Nextcloud admin page)
18.0.0
cc @nextcloud/ldap
This method were deprecated in 7.4 and for some reason the PHP LDAP module is always too talkative. We need to switch to ldap_exop, can be used starting PHP 7.3 where server controls support was added.
Any news on this nextcloud is not ready to PHP 7.4 if the ldap fonction spam a lot , i try to set the error_reporting but i can"t find where do i have to set it for
I have the same problem and switched back to PHP 7.3.15 on Ubuntu 18 with PHP 7.4.2
I'm back to php 7.3.14 because there were no little chance to get rid of those messages under php 7.4.x
Never the less my ubuntu 18.04.4 updates each time there are php updates 7.3.x AND 7.4.x
So i let them installed parallel for the day nextcloud becomes compatible with php 7.4.x
Any other affected functions of nextcloud that "dislike" php 7.4 at the moment (nc 18.0.1) ?
So need an update.
You launched the Nextcloud 18.0.2 shortly. Is this error still an open issue or has it been solved under the latest version?
The issue is still here. It seems like nothing in the LDAP app is changed.
f.w.i.w.: The app is at version 1.8.0. Nextcloud is at version 1.8.0.2

If this issue is open than it's not fixed yet. Please subscribe to this issue and you will be notified on status change.
I really need a fix for this. Having the exact same issue on nextcloud 18. It's eating up processor cycles on the AD and the AD is freezing up with 100% CPU. I did a packet capture and its flooded with ldap requests from nextcloud to AD. The nextcloud log is currently 220 GB and filled with these errors.
The LDAP configuration is causing the entire AD infrastructure to fail, so this is critical. I'm having 250+ users working on the cloud.
I really need a fix for this. Having the exact same issue on nextcloud 18. It's eating up processor cycles on the AD and the AD is freezing up with 100% CPU. I did a packet capture and its flooded with ldap requests from nextcloud to AD. The nextcloud log is currently 220 GB and filled with these errors.
The LDAP configuration is causing the entire AD infrastructure to fail, so this is critical. I'm having 250+ users working on the cloud.
Exact same situation here.
I've PHP 7.4.3 and Nextcloud 18.0.3.
@Lenezir for what its worth, I worked around this by degrading to PHP 7.3.
@pcolmer Thanks. :)
It's eating up processor cycles on the AD and the AD is freezing up with 100% CPU.
That's got nothing to do with Nextcloud logging PHP deprecation messages.
@dahammo I just fixed the problem (maybe it will not work for everyone).
I downgraded to PHP 7.3 AND I installed the php7.3-smbclient module (and some others modules presented on the doc), I forgot it. Now it works like a charm, no more overload of Apache.
Who's affected can try https://github.com/nextcloud/server/pull/20274
Most helpful comment
I really need a fix for this. Having the exact same issue on nextcloud 18. It's eating up processor cycles on the AD and the AD is freezing up with 100% CPU. I did a packet capture and its flooded with ldap requests from nextcloud to AD. The nextcloud log is currently 220 GB and filled with these errors.
The LDAP configuration is causing the entire AD infrastructure to fail, so this is critical. I'm having 250+ users working on the cloud.