auth_ldap to import additional fields from ldap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 1 |
Bug Description
There are a number of fields related to a user that could be imported from LDAP when a user logs in such as their photo, phone numbers etc. Before I get carried away creating a patch/branch for this, there are a couple of other things worth considering ..
1/ Any other fields worth adding? Other people will have more LDAP fields than we do. At this point we haven't really considered adding more fields than already exists for the current user/partner set up, but it is doable.
2/ If there are more fields to be added, should there be some way of selecting/mapping those values you'd want to import? Different LDAP -> OpenERP Mappings?
3/ Internally we want to be able to update information from LDAP (on login), eg phone number changes (stop people changing their names), or retroactively add those details to users existing before this patch. Should that be a general update all information from LDAP .. or selected fields only?
We have tested that a plain import of additional fields is simple and have it working on our internal test systems by making changes to addons/
values = { 'name': ldap_entry[
}
This is more of a wishlist/
+1 for a configurable attribute/field mapping