Symfony 2.8でLDAP認証を使用しようとしていますが、ログインできません。Symfony 2.8 LDAP認証
私はドキュメント(ldap)に従ってすべてを設定しましたが、さまざまなことを試しましたが、何も解決できませんでした。 私のLDAPサーバに照会することができます。パスワードのスペルを間違えた場合、ログインフォームに「無効な認証情報」が正しく表示されますが、正しいユーザとパスワードを入力しても何も起きないようです。私はいつもセッションなしでログインページに固執しています。
私はxdebug symfony ldapクラスとSymfony \ Component \ Security \ Core \ Use \ LdapuserProviderでデバッグしています。ユーザーがLDAPから正しく返されたことがわかりました。私はまだログインしていませんし、LdapProviderはセッションを作成しません。
ldapを成功裏に構成できた人は誰ですか? User Entityクラスを作成するか、ドキュメントで扱わないものを設定する必要があるかどうかは知りませんか?
ものは私の現在のconfigs、次のとおりです。私は問題を発見したよう
[2017-03-08 15:48:24] request.INFO: Matched route "login". {"route_parameters":{"_controller":"AppBundle\\Controller\\UserController::loginAction","_route":"login"},"request_uri":"http://noc/app_dev.php/login"} []
[2017-03-08 15:48:24] php.INFO: The Symfony\Component\Ldap\LdapClient class is deprecated since version 3.1 and will be removed in 4.0. Use the Ldap class directly instead. {"type":16384,"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":14,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":14,"function":"trigger_error"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php","line":169,"args":["/var/www/html/vendor/symfony/ldap/LdapClient.php"],"function":"require_once"},{"function":"loadClass","class":"Symfony\\Component\\Debug\\DebugClassLoader","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":1534,"function":"spl_autoload_call"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getLdapService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3612,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_User_Provider_Concrete_MyLdapService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3540,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_Authentication_ManagerService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":2131,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_Firewall_Map_Context_MainService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/SecurityBundle/Security/FirewallMap.php","line":40,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall.php","line":61,"function":"getListeners","class":"Symfony\\Bundle\\SecurityBundle\\Security\\FirewallMap","type":"->"},{"function":"onKernelRequest","class":"Symfony\\Component\\Security\\Http\\Firewall","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php","line":61,"function":"call_user_func"},{"function":"__invoke","class":"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php","line":184,"function":"call_user_func"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php","line":46,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php","line":140,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":125,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":64,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php","line":69,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php","line":185,"function":"handle","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->"},{"file":"/var/www/html/web/app_dev.php","line":28,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"}]} []
[2017-03-08 15:48:24] php.INFO: The "find" method is deprecated since version 3.1 and will be removed in 4.0. Use the "query" method instead. {"type":16384,"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":63,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":63,"function":"trigger_error"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Security/Core/User/LdapUserProvider.php","line":62,"function":"find","class":"Symfony\\Component\\Ldap\\LdapClient","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/Provider/LdapBindAuthenticationProvider.php","line":65,"function":"loadUserByUsername","class":"Symfony\\Component\\Security\\Core\\User\\LdapUserProvider","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/Provider/UserAuthenticationProvider.php","line":70,"function":"retrieveUser","class":"Symfony\\Component\\Security\\Core\\Authentication\\Provider\\LdapBindAuthenticationProvider","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/AuthenticationProviderManager.php","line":80,"function":"authenticate","class":"Symfony\\Component\\Security\\Core\\Authentication\\Provider\\UserAuthenticationProvider","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/UsernamePasswordFormAuthenticationListener.php","line":112,"function":"authenticate","class":"Symfony\\Component\\Security\\Core\\Authentication\\AuthenticationProviderManager","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php","line":146,"function":"attemptAuthentication","class":"Symfony\\Component\\Security\\Http\\Firewall\\UsernamePasswordFormAuthenticationListener","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall.php","line":69,"function":"handle","class":"Symfony\\Component\\Security\\Http\\Firewall\\AbstractAuthenticationListener","type":"->"},{"function":"onKernelRequest","class":"Symfony\\Component\\Security\\Http\\Firewall","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php","line":61,"function":"call_user_func"},{"function":"__invoke","class":"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php","line":184,"function":"call_user_func"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php","line":46,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php","line":140,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":125,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":64,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php","line":69,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php","line":185,"function":"handle","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->"},{"file":"/var/www/html/web/app_dev.php","line":28,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"}]} []
[2017-03-08 15:48:24] security.INFO: User has been authenticated successfully. {"username":"ddias"} []
[2017-03-08 15:48:24] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} []
[2017-03-08 15:48:24] request.INFO: Matched route "homepage". {"route_parameters":{"_controller":"AppBundle\\Controller\\DefaultController::indexAction","_route":"homepage"},"request_uri":"http://noc/app_dev.php/"} []
[2017-03-08 15:48:24] php.INFO: The Symfony\Component\Ldap\LdapClient class is deprecated since version 3.1 and will be removed in 4.0. Use the Ldap class directly instead. {"type":16384,"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":14,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":14,"function":"trigger_error"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php","line":169,"args":["/var/www/html/vendor/symfony/ldap/LdapClient.php"],"function":"require_once"},{"function":"loadClass","class":"Symfony\\Component\\Debug\\DebugClassLoader","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":1534,"function":"spl_autoload_call"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getLdapService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3612,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_User_Provider_Concrete_MyLdapService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3540,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_Authentication_ManagerService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":2131,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_Firewall_Map_Context_MainService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/classes.php","line":2986,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/app/cache/dev/classes.php","line":2628,"function":"getListeners","class":"Symfony\\Bundle\\SecurityBundle\\Security\\FirewallMap","type":"->"},{"function":"onKernelRequest","class":"Symfony\\Component\\Security\\Http\\Firewall","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php","line":61,"function":"call_user_func"},{"function":"__invoke","class":"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener","type":"->"},{"file":"/var/www/html/app/cache/dev/classes.php","line":1863,"function":"call_user_func"},{"file":"/var/www/html/app/cache/dev/classes.php","line":1778,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php","line":140,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":125,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":64,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php","line":69,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php","line":185,"function":"handle","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->"},{"file":"/var/www/html/web/app_dev.php","line":28,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"}]} []
[2017-03-08 15:48:24] security.DEBUG: Read existing security token from the session. {"key":"_security_main"} []
[2017-03-08 15:48:24] security.WARNING: Username could not be found in the selected user provider. {"username":"ddias","provider":"Symfony\\Component\\Security\\Core\\User\\InMemoryUserProvider"} []
[2017-03-08 15:48:24] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2017-03-08 15:48:24] security.DEBUG: Access denied, the user is not fully authenticated; redirecting to authentication entry point. {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): Access Denied. at /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AccessListener.php:70)"} []
[2017-03-08 15:48:24] security.DEBUG: Calling Authentication entry point. [] []
[2017-03-08 15:48:24] request.INFO: Matched route "login". {"route_parameters":{"_controller":"AppBundle\\Controller\\UserController::loginAction","_route":"login"},"request_uri":"http://noc/app_dev.php/login"} []
[2017-03-08 15:48:24] php.INFO: The Symfony\Component\Ldap\LdapClient class is deprecated since version 3.1 and will be removed in 4.0. Use the Ldap class directly instead. {"type":16384,"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":14,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":14,"function":"trigger_error"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php","line":169,"args":["/var/www/html/vendor/symfony/ldap/LdapClient.php"],"function":"require_once"},{"function":"loadClass","class":"Symfony\\Component\\Debug\\DebugClassLoader","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":1534,"function":"spl_autoload_call"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getLdapService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3612,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_User_Provider_Concrete_MyLdapService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3540,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_Authentication_ManagerService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":2131,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_Firewall_Map_Context_MainService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/classes.php","line":2986,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/app/cache/dev/classes.php","line":2628,"function":"getListeners","class":"Symfony\\Bundle\\SecurityBundle\\Security\\FirewallMap","type":"->"},{"function":"onKernelRequest","class":"Symfony\\Component\\Security\\Http\\Firewall","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php","line":61,"function":"call_user_func"},{"function":"__invoke","class":"Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener","type":"->"},{"file":"/var/www/html/app/cache/dev/classes.php","line":1863,"function":"call_user_func"},{"file":"/var/www/html/app/cache/dev/classes.php","line":1778,"function":"doDispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php","line":140,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":125,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":64,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php","line":69,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php","line":185,"function":"handle","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->"},{"file":"/var/www/html/web/app_dev.php","line":28,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"}]} []
[2017-03-08 15:48:24] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2017-03-08 15:48:25] request.INFO: Matched route "_wdt". {"route_parameters":{"_controller":"web_profiler.controller.profiler:toolbarAction","token":"11e2b4","_route":"_wdt"},"request_uri":"http://noc/app_dev.php/_wdt/11e2b4"} []
[2017-03-08 15:48:25] php.INFO: The Symfony\Component\Ldap\LdapClient class is deprecated since version 3.1 and will be removed in 4.0. Use the Ldap class directly instead. {"type":16384,"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":14,"level":28928,"stack":[{"function":"handleError","class":"Symfony\\Component\\Debug\\ErrorHandler","type":"->"},{"file":"/var/www/html/vendor/symfony/ldap/LdapClient.php","line":14,"function":"trigger_error"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php","line":169,"args":["/var/www/html/vendor/symfony/ldap/LdapClient.php"],"function":"require_once"},{"function":"loadClass","class":"Symfony\\Component\\Debug\\DebugClassLoader","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":1534,"function":"spl_autoload_call"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getLdapService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3612,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_User_Provider_Concrete_MyLdapService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3540,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_Authentication_ManagerService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":2044,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getSecurity_AuthorizationCheckerService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3134,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getTwigService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/appDevDebugProjectContainer.php","line":3389,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":314,"function":"getWebProfiler_Controller_ProfilerService","class":"appDevDebugProjectContainer","type":"->"},{"file":"/var/www/html/app/cache/dev/classes.php","line":2553,"function":"get","class":"Symfony\\Component\\DependencyInjection\\Container","type":"->"},{"file":"/var/www/html/app/cache/dev/classes.php","line":2170,"function":"createController","class":"Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Controller/TraceableControllerResolver.php","line":46,"function":"getController","class":"Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":132,"function":"getController","class":"Symfony\\Component\\HttpKernel\\Controller\\TraceableControllerResolver","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php","line":64,"function":"handleRaw","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php","line":69,"function":"handle","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->"},{"file":"/var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php","line":185,"function":"handle","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","type":"->"},{"file":"/var/www/html/web/app_dev.php","line":28,"function":"handle","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->"}]} []
完全なsecurty.ymlファイルを投稿できますか?あなたのアクセスコントロールセクションはどのように見えますか?ログにメッセージがありますか? – ChadSikorra
@ChadSikorra完全なセキュリティファイルとログ投稿 –
あなたはdn_stringのドメインプレフィックスを忘れていませんか? dn_stringのように: 'domain \ {username}'?そんな感じ。私は純粋なphp関数を使ってldapを最初にテストすることをお勧めします。それで、何が間違っているのかを理解することができます。私は同じ問題を抱えていましたが、実際の設定を行うためには多くのtry/errorをしなければなりませんでした。 – COil