How to setup admin user with gitlab with LDAP authentication?

后端 未结 5 1128
再見小時候
再見小時候 2021-02-12 11:14

I\'ve just setup gitlab, but I\'m completely lost with regards to admin user. The wiki seems silent about this topic, and google hasn\'t been of help either.

So, how do

5条回答
  •  盖世英雄少女心
    2021-02-12 11:40

    The file db/fixtures/production/001_admin.rb contains a user and password setup for administration, but you have to disable LDAP to login with it. Afterwards, if you have created a user by login in with LDAP, you can set it up to be an administrator and re-enable LDAP.

    Hopefully, a more rational way exists...

提交回复
热议问题