There's a bug in Net_LDAP3 used by Kolab Webadmin
I'm using up2date packages from kolab-webadmin (commit XX) and php-net-ldap3 (commit YY)
Here's the Fatal Error message
```
[25-Mar-2025 22:46:58 UTC] PHP Fatal error: Uncaught Error: Cannot access private property LDAP::$domain in /usr/share/php/Net/LDAP3.php:970
Stack trace:
#0 /usr/share/php/Net/LDAP3.php(941): Net_LDAP3->entry_find_by_attribute()
#1 /usr/share/php/Net/LDAP3.php(713): Net_LDAP3->entry_dn()
#2 /usr/share/kolab-webadmin/lib/Auth/LDAP.php(551): Net_LDAP3->effective_rights()
#3 /usr/share/kolab-webadmin/lib/Auth.php(285): LDAP->effective_rights()
#4 /usr/share/kolab-webadmin/lib/api/kolab_api_service_user.php(215): Auth->list_rights()
#5 /usr/share/kolab-webadmin/lib/kolab_api_controller.php(176): kolab_api_service_user->user_effective_rights()
#6 /usr/share/kolab-webadmin/public_html/api/index.php(33): kolab_api_controller->dispatch()
#7 {main}
thrown in /usr/share/php/Net/LDAP3.php on line 970
[25-Mar-2025 22:46:58 +0000](2v095bketg9odplmr1qrccg9ss): PHP Error: API Error: Unable to decode response (POST)
[25-Mar-2025 22:46:58 UTC] PHP Deprecated: Creation of dynamic property User::$user_bind_dn is deprecated in /usr/share/kolab-webadmin/lib/kolab_api_controller.php on li ne 260
[25-Mar-2025 22:46:58 UTC] PHP Deprecated: Creation of dynamic property User::$user_bind_pw is deprecated in /usr/share/kolab-webadmin/lib/kolab_api_controller.php on li ne 260
[25-Mar-2025 22:46:58 UTC] PHP Deprecated: Creation of dynamic property LDAP::$mc_available is deprecated in /usr/share/php/Net/LDAP3.php on line 3025
[25-Mar-2025 22:46:58 UTC] PHP Deprecated: Creation of dynamic property Memcache::$connection is deprecated in /usr/share/php/Net/LDAP3.php on line 3038
[25-Mar-2025 22:46:58 UTC] PHP Deprecated: Creation of dynamic property Memcache::$_failureCallback is deprecated in /usr/share/php/Net/LDAP3.php on line 3038
[25-Mar-2025 22:46:58 UTC] PHP Deprecated: Creation of dynamic property LDAP::$additional_filter is deprecated in /usr/share/php/Net/LDAP3.php on line 1784
```
The Problem:
The method `Net_LDAP3::entry_find_by_attribute()` tries to access an undefined attribute `$this->domain` (as for Net_LDAP3).
--> /usr/share/php/Net/LDAP3.php:970
This attribute (`$this->#domain`) is defined as `private` in `/usr/share/kolab-webadmin/lib/Auth/LDAP.php:31`
Variante 1:
A variable used in Net_LDAP3 (which is not an abstract class) should be defined as protected.
Variante 2:
The use of the undefined variable $this->domain in a debug message should be removed or change somehow.