feat(monorepo-gerrit): Configure Gerrit for LDAP authentication
This commit is contained in:
parent
740b4b37fc
commit
4000a76678
1 changed files with 15 additions and 0 deletions
|
@ -11,6 +11,21 @@
|
|||
log.jsonLogging = true;
|
||||
log.textLogging = false;
|
||||
# TODO: gitweb config
|
||||
|
||||
# Configures integration with the locally running OpenLDAP
|
||||
auth.type = "LDAP";
|
||||
ldap = {
|
||||
server = "ldap://localhost";
|
||||
accountBase = "ou=users,dc=tvl,dc=fyi";
|
||||
accountPattern = "(&(objectClass=organizationalPerson)(cn=\${username}))";
|
||||
accountFullName = "cn";
|
||||
accountEmailAddress = "mail";
|
||||
groupBase = "ou=groups,dc=tvl,dc=fyi";
|
||||
gerrit.canonicalWebUrl = "https://cl.tvl.fyi";
|
||||
|
||||
# TODO(tazjin): Assuming this is what we'll be doing ...
|
||||
groupMemberPattern = "(&(objectClass=group)(member=\${dn}))";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue