mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-06 02:11:42 +02:00
Added SSH Pub Key implementation in Gitea
This commit is contained in:
@@ -1,2 +1,17 @@
|
||||
application_id: "gitea"
|
||||
database_type: "mariadb"
|
||||
database_type: "mariadb"
|
||||
gitea_ldap_auth_args:
|
||||
- '--name "LDAP ({{ primary_domain }})"'
|
||||
- '--host "{{ ldap.server.domain }}"'
|
||||
- '--port {{ ldap.server.port }}'
|
||||
- '--security-protocol "{{ ldap.server.security | trim or "unencrypted" }}"'
|
||||
- '--bind-dn "{{ ldap.dn.administrator.data }}"'
|
||||
- '--bind-password "{{ ldap.bind_credential }}"'
|
||||
- '--user-search-base "{{ ldap.dn.users }}"'
|
||||
- '--user-filter "(&(objectClass=inetOrgPerson)(uid=%s))"'
|
||||
- '--username-attribute "{{ ldap.attributes.user_id }}"'
|
||||
- '--firstname-attribute "{{ ldap.attributes.firstname }}"'
|
||||
- '--surname-attribute "{{ ldap.attributes.surname }}"'
|
||||
- '--email-attribute "{{ ldap.attributes.mail }}"'
|
||||
- '--public-ssh-key-attribute "{{ ldap.attributes.ssh_public_key }}"'
|
||||
- '--synchronize-users'
|
||||
|
Reference in New Issue
Block a user