> # Map LDAP fields to database fields. > # Default: displayname => fullname, mail => email > attribute_mapping: > cn: fullname
Try explicitly adding the "mail: email" mapping here, and let me know how that works. I had a similar problem with my installation a while back, because I mistakenly thought that Gitorious "merges" your attribute_overrides with its own defaults. That wasn't the case; Gitorious actually overrides the default attribute_mapping hash completely. So if an attribute is missing, it can crash. Looks like this is still the case for master (d7c9f9900286eebc406dd3450a7c140b45e7aac0): in lib/gitorious/authentication/ldap_configurator.rb 40 def attribute_mapping 41 options["attribute_mapping"] || default_attribute_mapping 42 end I think it would be more "expected" to do some sort of merge there, rather than choosing one entirely over the other - Ken -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
