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

23
doc/gitea.md Normal file
View File

@@ -0,0 +1,23 @@
# Gitea
## Setup using installer, create user root
```shell
INSTALL_LOCK to false
```
## Gitea LDAP Authentication settings
- Authentication Type: `LDAP (via BindDN)`
- Authentication Name: `LDAP`
- Security Protocol: `Unencrypted`
- Host: `gagarin`
- Port: `389`
- User Search Base: `dc=fet,dc=htu,dc=tuwien,dc=ac,dc=at`
- User Filter: `(&(objectClass=posixAccount)(uid=%s))`
- 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!