YunoHost-Apps/roundcube_ynh

Eliminate LDAP related warning

CodeShakingSheep opened this issue · 2 comments

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

  • Hardware: VPS bought online
  • I have access to my server: Through SSH | through the webadmin |
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

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

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

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.