1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src
Andre Klapper 700090917a Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception
Summary:
Per https://www.php.net/manual/en/function.ldap-connect.php the signature `$conn = @ldap_connect($host, $this->port);` is deprecated since PHP 8.3.
Thus pass a full LDAP URI as the only parameter.

```
ERROR 8192: Usage of ldap_connect with two arguments is deprecated at [/var/www/html/phorge/phorge/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php:308]
```

Closes T15724

Test Plan: Set up LDAP as auth provider, try to log in.

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15724

Differential Revision: https://we.phorge.it/D25792
2024-11-26 14:05:09 +01:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront PHPDoc: Replace "@return this" with "@return $this" 2024-09-09 15:48:09 +02:00
applications Fix PHP 8.3 "Usage of ldap_connect with two arguments is deprecated" exception 2024-11-26 14:05:09 +01:00
docs Bump PHP version requirement from 5.2.3 to 7.2.25 2024-10-18 14:20:21 +02:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure APC: Set ttl to 0 when ttl is not given 2024-10-27 15:12:01 +01:00
view Fix implicitly nullable parameter declarations for PHP 8.4 2024-10-24 17:19:42 +02:00
__phutil_library_init__.php Rebrand: Rename library and update "version" logic 2022-08-25 01:26:21 -07:00
__phutil_library_map__.php Calendar Import: add unit tests to cover participants 2024-08-28 09:31:18 +02:00