Last active
April 24, 2016 11:46
-
-
Save jgeek/312a25a1a811c7fe572283aafc5a08bf to your computer and use it in GitHub Desktop.
gerrit ldap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldap installation: | |
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-a-basic-ldap-server-on-an-ubuntu-12-04-vps | |
---------- | |
No index versions ready; run Reindex | |
solution: | |
$java -jar gerrit.war reindex | |
---------------- | |
The first user who logs in an empty Gerrit instance becomes an admin. | |
Please check in your database how many accounts you have created: | |
- stop your gerrit instance | |
- from the review_site folder execute: | |
java -jar bin/gerrit.war gsql | |
when it starts type: | |
select * from accounts; | |
Does it show more than one account? | |
The one with the lowest account_id should be an admin. | |
also check: | |
select * from account_groups; | |
there should be Administrators group listed with group_id = 1; | |
finally: | |
select * from account_group_members; | |
-------------------- | |
phpLDAPadmin: | |
Error trying to get a non-existent value (appearance, password_hash) in LDAP: | |
$default = $this->getServer()->getValue('appearance','password_hash'); -> | |
$default = $this->getServer()->getValue('appearance','password_hash_custom'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment