4dd3802 LDAP: Make it possible to extend an attribute map

Authored and Committed by jhrozek 6 years ago
    LDAP: Make it possible to extend an attribute map
    
    https://fedorahosted.org/sssd/ticket/2073
    
    This commit adds a new option ldap_user_extra_attrs that is unset by
    default. When set, the option contains a list of LDAP attributes the LDAP
    provider would download and store in addition to the usual set.
    
    The list can either contain LDAP attribute names only, or colon-separated
    tuples of LDAP attribute and SSSD cache attribute name. In case only LDAP
    attribute name is specified, the attribute is saved to the cache verbatim.
    Using a custom SSSD attribute name might be required by environments that
    configure several SSSD domains with different LDAP schemas.
    
    Reviewed-by: Simo Sorce <simo@redhat.com>
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>
    
        
file modified
+48 -0
file modified
+9 -0
file modified
+1 -0
file modified
+1 -0
file modified
+2 -1
file modified
+116 -0
file modified
+9 -0
file modified
+117 -0
file modified
+2 -0
file modified
+2 -0