mirror of
https://github.com/lldap/lldap.git
synced 2026-03-31 15:07:48 +01:00
example_config: Add gerrit
This commit is contained in:
@@ -19,6 +19,7 @@ configuration files:
|
|||||||
- [Ejabberd](ejabberd.md)
|
- [Ejabberd](ejabberd.md)
|
||||||
- [Emby](emby.md)
|
- [Emby](emby.md)
|
||||||
- [Ergo IRCd](ergo.md)
|
- [Ergo IRCd](ergo.md)
|
||||||
|
- [Gerrit](gerrit.md)
|
||||||
- [Gitea](gitea.md)
|
- [Gitea](gitea.md)
|
||||||
- [GitLab](gitlab.md)
|
- [GitLab](gitlab.md)
|
||||||
- [Grafana](grafana_ldap_config.toml)
|
- [Grafana](grafana_ldap_config.toml)
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Configuration for Gerrit
|
||||||
|
|
||||||
|
Edit `gerrit.config`:
|
||||||
|
```ini
|
||||||
|
[auth]
|
||||||
|
type = ldap
|
||||||
|
|
||||||
|
[ldap]
|
||||||
|
server = ldap://lldap:3890
|
||||||
|
supportAnonymous = false
|
||||||
|
username = uid=gerritadmin,ou=people,dc=example.com,dc=com
|
||||||
|
accountBase = ou=people,dc=example.com,dc=com
|
||||||
|
accountPattern = (uid=${username})
|
||||||
|
accountFullName = cn
|
||||||
|
accountEmailAddress = mail
|
||||||
|
```
|
||||||
|
|
||||||
|
The `supportAnonymous = false` must be set.
|
||||||
Reference in New Issue
Block a user