Gitlab & OpenLDAP settings
阿新 • • 發佈:2018-12-17
RT
Installation
- Gitlab-ce settings please refer to: [https://about.gitlab.com/installation/] the official installation guide.
- Openldap please refer to official installation guide, too.
[http://www.openldap.org/doc/]
Linking
- For gitlab linking to ldap, please refer to official LDAP
gitlab.rb
file. very easy.
Troubles
- checking cmds:
gitlab-rake gitlab:ldap:check
Error:
Your account has been blocked. Please contact your GitLab administrator if you think this is an error.
Refer1: https://www.linuxidc.com/Linux/2018-01/150516.htm
Refer2:
I use this post:
On a root user in terminal console:
gitlab-rails console
user = User.find_by(email: "myuser@example.com")
user.state = "active"
user.save
exit