关于gerrit的一些操作
java -jar bin/gerrit.war gsql
update ACCOUNT_EXTERNAL_IDS set EMAIL_ADDRESS='gaohang@xxx.com' where ACCOUNT_ID='1000009';
ldap 配置
[gerrit]
basePath = git
canonicalWebUrl = http://10.136.131.93:80/
[database]
type = H2
database = db/ReviewDB
[auth]
type = LDAP
[ldap]
server = ldap://rldap.xxxx.com:389
username = xxxxx@xxx.com
password = xxxxxxxxxx
accountBase = OU=User,OU=bbb,DC=aaa,DC=com
groupBase = OU=User,OU=bbb,DC=zzz,DC=com
[sendemail]
[container]
user = xxx
javaHome = /usr/lib/jvm/jdk1.6.0_45/jre
[sshd]
listenAddress = *:29418
[cache]
directory = cache
[httpd]
listenUrl = http://*:8080/