xperseguers / t3ext-ig_ldap_sso_auth

TYPO3 Extension ig_ldap_sso_auth. This extension provides LDAP and SSO support for TYPO3.
https://extensions.typo3.org/extension/ig_ldap_sso_auth
27 stars 70 forks source link

[TASK] Fix ldap_search controls PHP 7.2 incompatibility #163

Closed bnf closed 1 year ago

bnf commented 1 year ago

The $controls parameter added in 1512f7efb45 has been introduced in PHP 7.3, but even in PHP 7.2 it has an effect as it is passed through as-is to the native C-library [1], causing the previous call to @ldap_control_paged_result to be overruled.

Fixes #159 Related #139

[1] https://github.com/php/php-src/blob/PHP-7.2.34/ext/ldap/ldap.c#L1049-L1054