mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
Drop trap/warning from the exception markers; lint .j2 by stripping the suffix to the underlying language plus Jinja {# #} comments; add a head-level '# nocheck: comments-valid' opt-out via is_suppressed_in_head, documented in suppression.md; strip narration comments from friendica/nextcloud templates and opt the vendored discourse app.yml out with the new marker.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
25 lines
609 B
Django/Jinja
25 lines
609 B
Django/Jinja
<?php
|
|
// Source: https://git.friendi.ca/friendica/friendica-addons/src/branch/develop/ldapauth
|
|
|
|
return [
|
|
'ldapauth' => [
|
|
'ldap_server' => '{{ LDAP.SERVER.URI }}',
|
|
|
|
'ldap_binddn' => '{{ LDAP.DN.ADMINISTRATOR.DATA }}',
|
|
|
|
'ldap_bindpw' => '{{ LDAP.BIND_CREDENTIAL }}',
|
|
|
|
'ldap_searchdn' => '{{ LDAP.DN.OU.USERS }}',
|
|
|
|
'ldap_userattr' => '{{ LDAP.USER.ATTRIBUTES.ID }}',
|
|
|
|
'ldap_group' =>'',
|
|
|
|
'ldap_autocreateaccount' => 'true',
|
|
|
|
'ldap_autocreateaccount_emailattribute' => '{{ LDAP.USER.ATTRIBUTES.MAIL }}',
|
|
|
|
'ldap_autocreateaccount_nameattribute' => '{{ LDAP.USER.ATTRIBUTES.FIRSTNAME }}',
|
|
],
|
|
];
|