Hi Team,
I am trying to configure LDAP with gerrit Version – 2.10.2, But getting below errors, Kindly help me on this,
My gerrit.config settings are follows,
[auth]
type = LDAP
[ldap]
accountPattern = (&(objectClass=person)(uid=${username}))
accountFullName = displayName
accountEmailAddress = mail
groupBase = ou=gerrit,dc=sisldomain,dc=com
groupMemberPattern = (&(objectClass=group)(member=${dn}))
Only highlighted part I have modified. But My Gerrit web shows à Authentication unavailable at this time. Error.
Gerrit error.log as follows,
javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C090728, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580]; remaining name 'ou=people,dc=sisldomain,dc=com'
Dear Jan,
I am completely new to Git/Gerrit.
I am sorry to bother you again. As the LDAP guide I have updated my gerrit.config like below.
accountBase = ou=people,dc=sisldomain,dc=com
accountPattern = (&(objectClass=person)(uid=${username}))
accountFullName = displayName
accountEmailAddress = mail
groupBase = ou=gerrit,dc=sisidomain,dc=com
groupMemberPattern = (&(objectClass=group)(member=${dn}))
referral=follow
On portal – when I entered the domain id & password it fails with error – Authentication unavailable at this time.
Gerrit error.log shows below error.
[2015-04-08 09:19:24,726] ERROR com.google.gerrit.server.auth.ldap.LdapRealm : Cannot query LDAP to authenticate user
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580]
So request you to kindly help me on this.
Thanks,
Mohan
Dear Jan,
I am completely new to Git/Gerrit.
I am sorry to bother you again. As the LDAP guide I have updated my gerrit.config like below.
[auth]
type = LDAP
[ldap]
server = ldap://master.sisldomain.comusername = mohan
password = mo...@321