0
由於谷歌已經停止了gerrit的openID支持,我現在正在嘗試使用LDAP。我有LDAP服務器的IP和端口號。但我現在不知道如何開始。Gerrit的LDAP配置?
我也需要幫助來更新我等/ gerrit_config文件:既然我LDAP的新手
[auth]
type = ldap
[ldap]
server = ldap://[IP]
accountBase = ou=people,dc=domain,dc=com
groupBase = ou=groups,dc=domain,dc=com
referral = follow
accountPattern = (uid=${username})
groupPattern = (cn=${groupname})
accountFullName = cn
accountMemberField = memberOf
accountEmailAddress = mail
,可能有人請幫助我同在。
謝謝!
該配置是否反映了您的LDAP目錄中使用的屬性? – StephenKing
@StephenKing我的第一個疑問是..我的ldap服務器是一個其他的機器,我正在安裝gerrit,所以我需要在gerrit服務器上安裝一些東西。對不起,我愚蠢的問題! – love
那麼你也是LDAP服務器的管理員?這個問題不是愚蠢的,但我認爲你應該瞭解一些有關LDAP的基本知識,如果你還沒有這方面的知識。這可能很難解釋所有可能性(我承認我也不是那裏的專家)。 – StephenKing