Symfony 2.6 FR3DLdapBundle. Authentication request could not be processed due to a system
Try to do this on your loginAction()
\Doctrine\Common\Util\Debug::dump($this->getDoctrine()->getEntityManager()->find('AppBundle:User', 1));
You might possible see an error. This works for me.
What fixed this for me was adding:
implements UserInterface, \Serializable
to the end of my entity's class declaration then adding the required methods to the entity at the bottom:
/** * @return null */public function getSalt(){ return null;}/** * @return array */public function getRoles(){ return array('ROLE_USER');}public function eraseCredentials(){}/** * @return string */public function serialize(){ return serialize(array($this->id, $this->username, $this->password));}/** * @param string $serialized */public function unserialize($serialized) { list($this->id, $this->username,$this->password) = unserialize($serialized);}