[Bug 291190] net/phpldapadmin: Error: 8192: Usage of ldap_connect with two arguments is deprecated
Date: Wed, 26 Nov 2025 17:58:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291190
--- Comment #1 from Krzysztof <ports@bsdserwis.com> ---
(In reply to O. Hartmann from comment #0)
I guess, that your config.php contains such things:
$servers->setValue('server','host','127.0.0.1');
$servers->setValue('server','port',389);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You have to comment out line with port (simplest solution). AFAIR phpldapadmin
has condition, that if port is set is used as second parameter do ldap_connect.
Currently php supports ldapi:// schema only. So config.php should look like
this:
$servers->setValue('server','host','127.0.0.1:389');
I suggest above solution - it will be working correctly.
--
You are receiving this mail because:
You are the assignee for the bug.