Description
I was using https://github.com/BorisMorel/LdapBundle before Symfony 2.8, but now with Symfony 3.1 I am using the built-in LDAP mechanism.
One of the things I miss is the ability to pull in custom user fields from LDAP. For example I was pulling in email and fullname.
Is there a way to do this with Symfony's LDAP component already? I looked at the documentation:
http://symfony.com/blog/new-in-symfony-2-8-ldap-component
http://symfony.com/components/Ldap (this is blank!!! linked to from the above)
http://symfony.com/doc/current/cookbook/security/ldap.html
and couldn't find either an easy way to do it, or a guide on how to implement this myself if that is the desired way to do it.
I propose two things:
a) that the ldap component provide an easy way to configure additional fields to pull in
b) that the documentation reflect this, or a cookbook is made on how to do it ourselves
Thanks!