Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
87 views
in Technique[技术] by (71.8m points)

How to change Gerrit LDAP administrator

I have one Gerrit server deployed. My Gerrit server was configured with one LDAP administrator user. Due to some cleanup activity that LDAP user was deleted by LDAP admin. And now I got the new LDAP user. I replaced the user configuration where the last user was configured in secure.config file. And then changed the user at Jenkins as well. And review are going on fine.

After I made the changes in secure.config file with the new user. I was in assumption that this user will become the next administrator of Gerrit. But I can see it is not. And using the old user I am not able to login. Now Hoe can I make the new user as Gerrit admin?

Changed the setting and reverted back, and login again with the new user but no luck.

[auth]
    type = development_become_any_account

Used Gerrit version: (2.11.8)

question from:https://stackoverflow.com/questions/65882699/how-to-change-gerrit-ldap-administrator

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You need to add the new LDAP user to the "Administrators" group.

See more details at the Gerrit documentation here.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...