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
  • !7208

Merged
Created Jun 26, 2014 by Administrator@rootOwner

Adds rake task to clean up deleted LDAP users

  • Overview 3
  • Commits 1
  • Changes 1

Created by: MrMarvin

When GitLab is set up to use a LDAP for authentication and such a user is removed from LDAP, she/he is no longer able to log in to GitLab. This doesn't remove the user record from GitLab however. As this is a common situation in enterprise environments (e.g. employees leave or move teams), it seems desirable to keep track of such users. Especially for GitLab-EE installations, which are licensed per User.

We decided that a feasable solution would be to block! such users, to preserve their data (projects, comments...).

This PR introduces a new Rake task under the "gitlab:cleanup" namespace which does block! users that are no longer found in LDAP.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/MrMarvin/ce_rake_cleanup_ldap_users