gitlab-rake gitlab:ldap:sync 命令用于将 LDAP 服务器中的用户数据同步到 GitLab 数据库中。这对于确保 GitLab 中的用户信息与 LDAP 服务器保持一致非常重要。检查LDAP 配置: 在执行同步命令之前,确保 GitLab 服务器上的 LDAP 配置是正确的。这包括检查 /etc/gitlab/gitlab.rb 文件中的 LDAP 相关配置,如...
sudogitlab-rake gitlab:ldap:rename_provider[ldapmain,ldapmycompany] Example output: 100 users with provider 'ldapmain' will be updated to 'ldapmycompany'.If the new provider is incorrect, users will be unable to sign in.Do you want to continue (yes/no)? yesUser identities were successfully...
sudo gitlab-rake gitlab:ldap:check By default, the task returns a sample of 100 LDAP users. Change this limit by passing a number to the check task: ShellCopy to clipboard rake gitlab:ldap:check[50] Run a group sync Tier: Premium, Ultimate ...
sudogitlab-rake gitlab:ldap:rename_provider[ldapmain,ldapmycompany] Example output: 100 users with provider 'ldapmain' will be updated to 'ldapmycompany'.If the new provider is incorrect, users will be unable to sign in.Do you want to continue (yes/no)? yesUser identities were successfully...
LDAP CheckThe LDAP check Rake task will test the bind_dn and password credentials (if configured) and will list a sample of LDAP users. This task is also executed as part of the gitlab:check task, but can run independently. See LDAP Rake Tasks - LDAP Check for details....
General maintenanceGeneral maintenance and self-check tasks. GitHub importRetrieve and import repositories from GitHub. Import large project exportsImport large GitLabproject exports. Incoming emailIncoming email-related tasks. Integrity checksCheck the integrity of repositories, files, LDAP, and more. ...
Using LDAP:no Using Omniauth:yesOmniauth Providers: GitLab Shell Version:13.22.1 Repository storage paths: - default:/var/opt/gitlab/git-data/repositories GitLab Shell path:/opt/gitlab/embedded/service/gitlab-shell Git:/opt/gitlab/embedded/bin/git 2. 显示GitLab许可证信息 sudo gitlab-rake ...
noUsing LDAP: noUsing Omniauth: yesOmniauth Providers:GitLab ShellVersion: 14.12.0Repository storage paths:- default: /var/opt/gitlab/git-data/repositories- gitaly: /var/opt/gitlab/git-data/repositoriesGitLab Shell path: /opt/gitlab/embedded/service/gitlab-shellGitaly- default Address: unix:/...
Using LDAP: no Using Omniauth: yes Omniauth Providers: saml GitLab Shell Version: 5.10.0 Repository storage paths: default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git ...
/opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.8 URL: https://hostname.tld HTTP Clone URL: https://hostname.tld/some-group/some-project.git SSH Clone URL: git@hostname.tld:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Om...