gitlab-rake gitlab:ldap:sync 命令用于将 LDAP 服务器中的用户数据同步到 GitLab 数据库中。这对于确保 GitLab 中的用户信息与 LDAP 服务器保持一致非常重要。检查LDAP 配置: 在执行同步命令之前,确保 GitLab 服务器上的 LDAP 配置是正确的。这包括检查 /etc/gitlab/gitlab.rb 文件中
sudo gitlab-rake gitlab:ldap:check Source Installation sudo-ugit-Hbundleexecrake gitlab:ldap:checkRAILS_ENV=production By default, the task will return a sample of 100 LDAP users. Change this limit by passing a number to the check task: ...
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 ...
sudo gitlab-rake gitlab:ldap:check Source Installation sudo-ugit-Hbundleexecrake gitlab:ldap:checkRAILS_ENV=production By default, the task will return a sample of 100 LDAP users. Change this limit by passing a number to the check task: ...
gitlab:ldap:check gitlab:app:check gitlab:geo:check(only if you’re runningGeo) It checks that each component was set up according to the installation guide and suggest fixes for issues found. This command must be run from your application server and doesn’t work correctly on component ser...
The 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 thegitlab:checktask, but can run independently. SeeLDAP Rake Tasks - LDAP Checkfor details....
gitlab:ldap:check gitlab:app:check gitlab:geo:check(only if you’re runningGeo) It checks that each component was set up according to the installation guide and suggest fixes for issues found. This command must be run from your application server and doesn’t work correctly on component ser...
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...
Using LDAP: no Using Omniauth: no GitLab Shell Version: unknown Repository storage paths: - default: /var/opt/gitlab/repo Hooks: /home/git/gitlab-shell/hooks Git: /usr/bin/git Results of GitLab application Check Expand for output related to the GitLab application check ...