Skip to content

Add LDAP maintenance task

Drew Blessing requested to merge dblessing/gitlab-ce:ldap_maint_task into master

I've received quite a few support requests where a user has renamed their LDAP server in the configuration file. This causes lots of issues where users are suddenly unable to sign in. It's easy enough to fix through the Rails console, but each time I had to instruct users how to get to the Rails console and what to type. This Rake task takes care of this and updates from old to new provider automatically.

Example: sudo gitlab-rake gitlab:ldap:rename_provider[ldapmain,ldapcustom]

cc/ @patricio @balameb Do you think this is useful?

Merge request reports