YunoHost-Apps / roundcube_ynh

Roundcube package for YunoHost
https://roundcube.net/
GNU Affero General Public License v3.0
11 stars 19 forks source link

Eliminate LDAP related warning #190

Open CodeShakingSheep opened 7 months ago

CodeShakingSheep commented 7 months ago

Describe the bug

Every day I have this entry in var/www/roundcube/logs/errors.log.

[10-Nov-2023 21:58:15 UTC] PHP Warning:  ldap_search(): Search: No such object in /var/www/roundcube/vendor/kolab/net_ldap3/lib/Net/LDAP3.php on line 2141

I had version 1.1 of this plugin https://packagist.org/packages/kolab/net_ldap3 when I installed roundcube. With composer I updated it to the current version 1.1.5 . The warning stays the same, only the line changed.

[12-Nov-2023 11:35:58 UTC] PHP Warning:  ldap_search(): Search: No such object in /var/www/roundcube/vendor/kolab/net_ldap3/lib/Net/LDAP3.php on line 2168

Context

Steps to reproduce

Just install the app and check errors.log.

Expected behavior

Warning shouldn't be present in logs.

Logs

[10-Nov-2023 21:58:15 UTC] PHP Warning:  ldap_search(): Search: No such object in /var/www/roundcube/vendor/kolab/net_ldap3/lib/Net/LDAP3.php on line 2141
nicofrand commented 5 months ago

I have this issue too, and thought I only had it because I modified the app to not use LDAP and missed something…

nicofrand commented 5 months ago

There are a lot of fixes since 1.6.0: (1.6.1 to 1.6.5) with several LDAP related issues. I'll try upgrading the app and we'll see.