gerrit接入AD配置
[ldap]
server = ldap://LDAP_IP:389
username = your_username
password = your_PASSWD
accountBase = DC=your_dc,DC=local
accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
accountFullName = displayName
accountEmailAddress = mail
accountSshUserName = sAMAccountName
localUsernameToLowerCase = true
groupBase = DC=your_dc,DC=local