gitlab-rake gitlab:ldap:sync 命令用于将 LDAP 服务器中的用户数据同步到 GitLab 数据库中。这对于确保 GitLab 中的用户信息与 LDAP 服务器保持一致非常重要。检查LDAP 配置: 在执行同步命令之前,确保 GitLab 服务器上的 LDAP 配置是正确的。这包括检查 /etc/gitlab/gitlab.rb 文件中的 LDAP 相关配置,如...
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: ...
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....
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...
Import large project exportsImport large GitLabproject exports. Incoming emailIncoming email-related tasks. Integrity checksCheck the integrity of repositories, files, LDAP, and more. LDAP maintenanceLDAP-related tasks. PasswordPassword management tasks. ...
Using LDAP: yes Using Omniauth: no GitLab Shell Version: 7.1.4 Repository storage paths: default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git Results of GitLab application Check ...
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...