I have used FOS USER BUNDLE along with Fr3d LDAP bundle. When I try to login, I'm getting the error
Unrecognized field: usernameCanonical
I need your help
seems that your User class is not extending from the FOS Users's base class.
use FOS\UserBundle\Entity\User as BaseUser;
use FR3D\LdapBundle\Model\LdapUserInterface;
class User extends BaseUser implements LdapUserInterface