Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !9858

Closed
Created Nov 26, 2015 by Administrator@rootOwner
  • Report abuse
Report abuse

Use LDAP/AD stored avatar thumbnail in preference to Gravatar

  • Overview 0
  • Commits 1
  • Changes 9

Created by: thechile

Allow a user’s LDAP/AD stored avatar thumbnail to be queried and if found, used in preference to the Gravatar service.

Note for Enterprise Edition:

For EE, it'll work fine but only on the first defined LDAP provider. As noted in the code, I’m not sure the best way to resolve the users LDAP provider from within gravatar_service.rb but if someone can point me in the right direction then it'll be easy to support multiple LDAP providers. The alternative was to loop through all defined providers for a match but this seemed wasteful if the possibility existed to just resolve the users provider directly.

This feature was also referenced in:

  • http://feedback.gitlab.com/forums/176466-general/suggestions/5158352-use-photo-thumbnail-via-ldap-vs-gravatar
  • https://github.com/gitlabhq/gitlabhq/issues/3107
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/thechile/ldap_user_avatar_lookup