Bugfix : LDAP issues
|Reported by:||nerbrume||Owned by:|
I've fixed some bad behaviors of the LDAP backend, concerning requested fields. Rather than telling the user that fields are missing, my patch fills those fields with 'name' value (with a warning). This fixes the bug where one could not add contacts by clicking on their icons, as well as simplifying the user's life.
I also discarded the warning when creating users with no group. I'm not sure as to why it was here in the first place, I may have missed something.
Please bear in mind that I don't know php, I hence may have made mistakes. A review of this patch seems necessary to me before using it.