带有LDAP的BitNami GitLab Stack 5.1.0-2

时间:2013-05-07 07:26:37

标签: git configuration ldap bitnami gitlab

我是configuring BitNami GitLab Stack

5.1.0-2 LDAP

我使用/opt/bitnami/apps/gitlab/htdocs/config/gitlab.yml

的以下设置
  ## LDAP settings
  ldap:
    enabled: true
    host: '192.168.1.14'
    base: 'DC=company,DC=com'
    port: 389
    uid: 'sAMAccountName'
    method: "plain"
    bind_dn: 'gitlab-ldap@company.com'

GitHub上的示例https://github.com/gitlabhq/gitlabhq/blob/master/config/gitlab.yml.example#L82-L91

重新启动后,我看到 LDAP登录作为默认按钮,但我无法登录。

  

无法从Ldap授权您,因为“网络无法访问”    - 连接(2)

在哪里可以找到GitLab日志?怎么解决这个问题?

之前的尝试是Bitnami GitLab 5.0 and git & Eclipse EGit quick start

更新。服务器是具有静态IP和域名gitlab.company.com的虚拟机。 Gitlab配置为使用gitlab.funshion.com作为IP名称。见Bitnami FAQ

$ sudo / opt / bitnami / updateip --machine_hostname gitlab.funshion.com

即便如此,gitlab.company.com/gitlab也是应用程序网址。

更新2: 日志在/opt/bitnami/apps/gitlab/htdocs/log/下 application.log - 创建的项目等,高级的东西
gitlabini.log - 以创建的管理员帐户结束:... NOTEMPTY
production.log - 就是这样! sidekiq.log

production.log production.log

更新3:重启后我得到了

  

无法从Ldap授权您,因为“Server 192.168.133.100   在389号港口拒绝连接“。

但192.168.133.100实际上是我的http://gitlab.company.com/服务器

请参阅BitNami GitLab Stack 5.1.0-2 rewrites gitlab.yml after reboot

更新4:与GitLab 5.4相同的问题 我找到了文章“Gitlab Active Directory LDAP身份验证”https://raymii.org/s/tutorials/Gitlab_and_Active_Directory_LDAP_Authentication.html,但所有使用单词字母案例的尝试都没有成功。

0 个答案:

没有答案