Update gitea doc

This commit is contained in:
Daniel A. Maierhofer
2018-10-26 23:36:19 +02:00
parent 676a9eda89
commit 0fdeb7ffe2
2 changed files with 13 additions and 3 deletions

View File

@@ -1,4 +1,12 @@
# Gitea LDAP Authentication settings
# Gitea
## Setup using installer, create user root
```shell
INSTALL_LOCK to false
```
## Gitea LDAP Authentication settings
- Authentication Type: `LDAP (via BindDN)`
- Authentication Name: `LDAP`
@@ -7,7 +15,9 @@
- Port: `389`
- User Search Base: `dc=fet,dc=htu,dc=tuwien,dc=ac,dc=at`
- User Filter: `(&(objectClass=posixAccount)(uid=%s))`
- Admin Filter: `(memberOf=cn=admin,ou=groups,dc=fet,dc=htu,dc=tuwien,dc=ac,dc=at)`
- Admin Filter: doesn't work, otherwise `(memberOf=cn=admin,ou=groups,dc=fet,dc=htu,dc=tuwien,dc=ac,dc=at)`
- First name attribute: `givenName`
- Surname attribute: `sn`
- Email attribute: `mail`
No Bind-DN and password needed!