我正在尝试使用Symfony(3.0.1)提供的LDAP组件在我的Silex(1.3.5)应用程序中配置LDAP身份验证。这是我当前的配置:$app['ldap']=function(){returnnewSymfony\Component\Ldap\LdapClient('ldap.example.com');};$app->register(newSecurityServiceProvider(),['security.providers'=>['users'=>['ldap'=>['service'=>'ldap','base_dn'=>'dc=example,dc=com','