You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading the Symfony framework from 7.2.6 to 7.3.0, I consistently have the following error using the symfony/ldap component when logging to my app:
Error:
Typed property Symfony\Component\Ldap\Security\LdapUser::$password must not be accessed before initialization
at vendor/symfony/ldap/Security/LdapUser.php:50
at Symfony\Component\Ldap\Security\LdapUser->getPassword()
(vendor/symfony/ldap/Security/LdapUserProvider.php:106)
at Symfony\Component\Ldap\Security\LdapUserProvider->refreshUser()
(vendor/symfony/security-http/Firewall/ContextListener.php:212)
at Symfony\Component\Security\Http\Firewall\ContextListener->refreshUser()
(vendor/symfony/security-http/Firewall/ContextListener.php:129)
at Symfony\Component\Security\Http\Firewall\ContextListener->authenticate()
(vendor/symfony/security-bundle/Debug/WrappedLazyListener.php:46)
at Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate()
(vendor/symfony/security-bundle/Security/LazyFirewallContext.php:61)
at Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext->__invoke()
(vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:91)
at Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners()
(vendor/symfony/security-http/Firewall.php:92)
at Symfony\Component\Security\Http\Firewall->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:159)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/var/www/html/vendor/autoload_runtime.php')
(public/index.php:5)
How to reproduce
Here is my configuration that was previously working on 7.2.6, based on the official documentation:
Symfony version(s) affected
7.3.0
Description
Since upgrading the Symfony framework from 7.2.6 to 7.3.0, I consistently have the following error using the
symfony/ldap
component when logging to my app:How to reproduce
Here is my configuration that was previously working on 7.2.6, based on the official documentation:
config/services.yaml
config/packages/security.yaml
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: